aaa
This commit is contained in:
@@ -173,6 +173,7 @@ func UpdateUserRole(ctx *jxcontext.Context, userIDs []string, roleIDs []int) (er
|
||||
nowRoleIDMap[nowRoleID] = 1
|
||||
}
|
||||
fmt.Println("nowRoleIDMap", nowRoleIDMap)
|
||||
fmt.Println("roleIDMap", roleIDMap)
|
||||
for _, roleID := range roleIDMap {
|
||||
if nowRoleIDMap[roleID] == 0 {
|
||||
addUserRoleMap[userID] = append(addUserRoleMap[userID], roleID)
|
||||
|
||||
Reference in New Issue
Block a user