From b8a0affd03b5fa9fa33cd6f870e90394c2df86c7 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 06 一月 2025 13:31:07 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/permission/PermissionController.java | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/permission/PermissionController.java b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/permission/PermissionController.java index 0bf9e24..2aa6247 100644 --- a/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/permission/PermissionController.java +++ b/iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/controller/admin/permission/PermissionController.java @@ -63,14 +63,14 @@ return success(true); } - @PostMapping("/assign-role-app-menu") - @Operation(summary = "赋予角色菜单") - @PreAuthorize("@ss.hasPermission('system:permission:assign-role-menu')") - public CommonResult<Boolean> assignRoleAppMenu(@Validated @RequestBody PermissionAssignRoleMenuReqVO reqVO) { - // 执行菜单的分配 - permissionService.assignRoleAppMenu(reqVO.getRoleId(), reqVO.getMenuIds()); - return success(true); - } +// @PostMapping("/assign-role-app-menu") +// @Operation(summary = "赋予角色菜单") +// @PreAuthorize("@ss.hasPermission('system:permission:assign-role-menu')") +// public CommonResult<Boolean> assignRoleAppMenu(@Validated @RequestBody PermissionAssignRoleMenuReqVO reqVO) { +// // 执行菜单的分配 +// permissionService.assignRoleAppMenu(reqVO.getRoleId(), reqVO.getMenuIds()); +// return success(true); +// } @PostMapping("/assign-role-data-scope") @Operation(summary = "赋予角色数据权限") -- Gitblit v1.9.3