|
@@ -89,10 +89,11 @@ public class RoleManagementController {
|
|
|
return CommonResult.success(roleManagementFacade.getUserMenuResourceTree(type));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "获取当前登录用户管理的角色列表 [by:songxl]")
|
|
|
+ @ApiOperation(value = "获取当前登录用户管理的角色列表 [by:songxl]",
|
|
|
+ notes = "softwareId:系统id 添加用户时获取的角色softwareId为空;添加数据权限角色的softwareId为选择的系统id")
|
|
|
@PostMapping("/getCreateRoles")
|
|
|
- public CommonResult<List<GetCreateRoleDTO>> getCreateRoles() {
|
|
|
- return CommonResult.success(roleManagementFacade.getCreateRoles());
|
|
|
+ public CommonResult<List<GetCreateRoleDTO>> getCreateRoles(@RequestParam Long softwareId) {
|
|
|
+ return CommonResult.success(roleManagementFacade.getCreateRoles(softwareId));
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "获取当前登录用户的显示的菜单列表 [by:songxl]")
|