- fix bug in GetUsers

This commit is contained in:
gazebo
2019-08-06 17:01:51 +08:00
parent a0c74cf02a
commit 447237f252
4 changed files with 5 additions and 5 deletions

View File

@@ -65,7 +65,7 @@ func (c *User2Controller) GetBindAuthInfo() {
func (c *User2Controller) GetUsers() {
c.callGetUsers(func(params *tUser2GetUsersParams) (retVal interface{}, errCode string, err error) {
var userIDs []string
if err := jxutils.Strings2Objs(params.UserIDs, &userIDs); err == nil {
if err = jxutils.Strings2Objs(params.UserIDs, &userIDs); err == nil {
retVal, err = cms.GetUsers(params.Ctx, params.UserType, params.Keyword, userIDs, params.UserID2, params.Mobile)
}
return retVal, "", err