作者 唐旭辉

bug修复

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