|
|
@@ -45,6 +45,15 @@ public class RoleController {
|
|
|
@ResourceAuth(value = AuthConstant.SuperAdmin, type = AuthType.Platform, remark = "角色管理_角色列表_1_Menu")
|
|
|
@ResourceAuth(value = AuthConstant.Admin, type = AuthType.Project, remark = "角色管理_角色列表_1_Menu")
|
|
|
@ResourceAuth(value = AuthConstant.Admin, type = AuthType.School, remark = "角色管理_角色列表_1_Menu")
|
|
|
+ @ResourceAuth(value = "user", type = AuthType.User)
|
|
|
+ @Operation(summary = "角色管理列表-分页查询", description = "角色管理列表-分页查询")
|
|
|
+ @RequestMapping(value = {"pageManager"}, method = {RequestMethod.POST})
|
|
|
+ public ResultContent<Page<RoleModel>> pageManager(
|
|
|
+ @Parameter(hidden = true) @PageableDefault(page = 0, size = 10) Pageable pageable,
|
|
|
+ @Parameter(required = false) RoleSearchParam param) {
|
|
|
+ return roleService.page(param, pageable);
|
|
|
+ }
|
|
|
+
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
@Operation(summary = "角色列表-分页查询", description = "角色列表-分页查询")
|
|
|
@RequestMapping(value = {"page"}, method = {RequestMethod.POST})
|