aa
This commit is contained in:
@@ -247,7 +247,7 @@ func UpdateRoleMenu(ctx *jxcontext.Context, roleIDs, menuIDs []int) (err error)
|
|||||||
}
|
}
|
||||||
for menuID, _ := range menuIDMap {
|
for menuID, _ := range menuIDMap {
|
||||||
if nowMenuIDMap[menuID] == 0 {
|
if nowMenuIDMap[menuID] == 0 {
|
||||||
addRoleMenuMap[menuID] = append(addRoleMenuMap[menuID], menuID)
|
addRoleMenuMap[roleID] = append(addRoleMenuMap[roleID], menuID)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user