作者 唐旭辉

bug修复

... ... @@ -294,6 +294,9 @@ func (service UsersService) buildGetUserList(usersData []domain.Users, permissio
permissionTypes := []string{}
if usersData[i].IsSuperAdmin() {
for _, pp := range permissionData {
if permissionData[i].ParentId > 0 {
continue
}
permissionTypes = append(permissionTypes, pp.Name)
}
} else {
... ...