用户添加全新啊

This commit is contained in:
苏尹岚
2020-09-28 10:18:44 +08:00
parent 4db2e48179
commit a1bde089c1

View File

@@ -132,7 +132,7 @@ func (c *PowerController) UpdateUserRole() {
userIDs []string
roleIDs []int
)
if err = jxutils.Strings2Objs(params.UserIDs, &userIDs, params.RoleIDs, roleIDs); err == nil {
if err = jxutils.Strings2Objs(params.UserIDs, &userIDs, params.RoleIDs, &roleIDs); err == nil {
err = cms.UpdateUserRole(params.Ctx, userIDs, roleIDs)
}
return retVal, "", err