|
|
@@ -28,9 +28,9 @@ public class RoleController {
|
|
|
@Autowired
|
|
|
RoleServiceImpl roleService;
|
|
|
|
|
|
- @ResourceAuth(value = "roleSave", type = AuthType.Platform, remark = "角色管理_添加编辑角色_2")
|
|
|
- @ResourceAuth(value = "roleSave", type = AuthType.Project, remark = "角色管理_添加编辑角色_2")
|
|
|
- @ResourceAuth(value = "roleSave", type = AuthType.School, remark = "角色管理_添加编辑角色_2")
|
|
|
+ @ResourceAuth(value = "roleSave", type = AuthType.Platform, remark = "角色管理_添加编辑角色_2_Button")
|
|
|
+ @ResourceAuth(value = "roleSave", type = AuthType.Project, remark = "角色管理_添加编辑角色_2_Button")
|
|
|
+ @ResourceAuth(value = "roleSave", type = AuthType.School, remark = "角色管理_添加编辑角色_2_Button")
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
@Operation(summary = "添加-编辑角色", description = "添加-编辑角色")
|
|
|
@RequestMapping(value = "addRole", method = {RequestMethod.POST})
|
|
|
@@ -38,9 +38,9 @@ public class RoleController {
|
|
|
return this.roleService.addRole(param);
|
|
|
}
|
|
|
|
|
|
- @ResourceAuth(value = "roleList", type = AuthType.Platform, remark = "角色管理_角色列表_1")
|
|
|
- @ResourceAuth(value = "roleList", type = AuthType.Project, remark = "角色管理_角色列表_1")
|
|
|
- @ResourceAuth(value = "roleList", type = AuthType.School, remark = "角色管理_角色列表_1")
|
|
|
+ @ResourceAuth(value = "roleList", type = AuthType.Platform, remark = "角色管理_角色列表_1_Menu")
|
|
|
+ @ResourceAuth(value = "roleList", type = AuthType.Project, remark = "角色管理_角色列表_1_Menu")
|
|
|
+ @ResourceAuth(value = "roleList", type = AuthType.School, remark = "角色管理_角色列表_1_Menu")
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
@Operation(summary = "角色列表-分页查询", description = "角色列表-分页查询")
|
|
|
@RequestMapping(value = {"page"}, method = {RequestMethod.POST})
|
|
|
@@ -57,9 +57,9 @@ public class RoleController {
|
|
|
return this.roleService.getAllRoles(param.getOid());
|
|
|
}
|
|
|
|
|
|
- @ResourceAuth(value = "roleDelete", type = AuthType.Platform, remark = "角色管理_删除角色_3")
|
|
|
- @ResourceAuth(value = "roleDelete", type = AuthType.Project, remark = "角色管理_删除角色_3")
|
|
|
- @ResourceAuth(value = "roleDelete", type = AuthType.School, remark = "角色管理_删除角色_3")
|
|
|
+ @ResourceAuth(value = "roleDelete", type = AuthType.Platform, remark = "角色管理_删除角色_3_Button")
|
|
|
+ @ResourceAuth(value = "roleDelete", type = AuthType.Project, remark = "角色管理_删除角色_3_Button")
|
|
|
+ @ResourceAuth(value = "roleDelete", type = AuthType.School, remark = "角色管理_删除角色_3_Button")
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
@Operation(summary = "删除角色", description = "删除角色")
|
|
|
@RequestMapping(value = "deleteRole", method = {RequestMethod.POST})
|
|
|
@@ -67,9 +67,9 @@ public class RoleController {
|
|
|
return this.roleService.deleteRole(param.getId());
|
|
|
}
|
|
|
|
|
|
- @ResourceAuth(value = "roleDetail", type = AuthType.Platform, remark = "角色管理_角色详情_4")
|
|
|
- @ResourceAuth(value = "roleDetail", type = AuthType.Project, remark = "角色管理_角色详情_4")
|
|
|
- @ResourceAuth(value = "roleDetail", type = AuthType.School, remark = "角色管理_角色详情_4")
|
|
|
+ @ResourceAuth(value = "roleDetail", type = AuthType.Platform, remark = "角色管理_角色详情_4_Button")
|
|
|
+ @ResourceAuth(value = "roleDetail", type = AuthType.Project, remark = "角色管理_角色详情_4_Button")
|
|
|
+ @ResourceAuth(value = "roleDetail", type = AuthType.School, remark = "角色管理_角色详情_4_Button")
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
@Operation(summary = "角色详情", description = "角色详情")
|
|
|
@RequestMapping(value = "getRole", method = {RequestMethod.POST})
|