|
|
|
@ -107,7 +107,7 @@ public class RoleController { |
|
|
|
|
public ResponseResult updateUserRole(@RequestBody UserRoleVO userRoleVO){ |
|
|
|
|
List<String> userIds = userRoleVO.getUserIds(); |
|
|
|
|
if (userIds.size()==0){ |
|
|
|
|
return ResponseResult.FAIL(20000,"不能不选择用户"); |
|
|
|
|
return ResponseResult.FAIL(20000,"请至少选择一个用户!"); |
|
|
|
|
} |
|
|
|
|
boolean save = roleService.saveUserRole(userRoleVO); |
|
|
|
|
return ResponseResult.SUCCESS(save); |
|
|
|
|