From c92df6e57423bfbd71c4b228337d99b7653755bd Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期五, 28 二月 2025 16:31:16 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/xiaochen991015/xizang --- ruoyi-applet/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-) diff --git a/ruoyi-applet/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java b/ruoyi-applet/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java index 3aeaac9..fecb55c 100644 --- a/ruoyi-applet/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java +++ b/ruoyi-applet/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java @@ -61,7 +61,6 @@ @Autowired private ISysMenuService menuService; - // @PreAuthorize("@ss.hasPermi('system:role:list')") @ApiOperation(value = "角色列表") @PostMapping("/list") public AjaxResult list(@RequestBody SysRoleQuery query) @@ -94,7 +93,6 @@ } // @Log(title = "角色管理", businessType = BusinessType.EXPORT) -// // @PreAuthorize("@ss.hasPermi('system:role:export')") // @PostMapping("/export") // public void export(HttpServletResponse response, SysRole role) // { @@ -106,7 +104,6 @@ /** * 根据角色编号获取详细信息 */ - // @PreAuthorize("@ss.hasPermi('system:role:query')") @GetMapping(value = "/{roleId}") public AjaxResult getInfo(@PathVariable Long roleId) { @@ -150,7 +147,6 @@ /** * 新增角色 */ - // @PreAuthorize("@ss.hasPermi('system:role:add')") @ApiOperation(value = "新增角色") @Log(title = "角色信息-新增角色", businessType = BusinessType.INSERT) @PostMapping("/add") @@ -168,7 +164,6 @@ /** * 修改保存角色 */ - // @PreAuthorize("@ss.hasPermi('system:role:edit')") @ApiOperation(value = "编辑角色") @Log(title = "角色信息-编辑角色", businessType = BusinessType.UPDATE) @PutMapping @@ -196,7 +191,6 @@ /** * 修改保存数据权限 */ - // @PreAuthorize("@ss.hasPermi('system:role:edit')") @Log(title = "角色管理", businessType = BusinessType.UPDATE) @PutMapping("/dataScope") public AjaxResult dataScope(@RequestBody SysRole role) @@ -209,7 +203,6 @@ /** * 状态修改 */ - // @PreAuthorize("@ss.hasPermi('system:role:edit')") @ApiOperation(value = "状态修改") @Log(title = "角色信息-角色状态修改", businessType = BusinessType.UPDATE) @PutMapping("/changeStatus") @@ -223,7 +216,6 @@ /** * 删除角色 */ - // @PreAuthorize("@ss.hasPermi('system:role:remove')") @ApiOperation(value = "删除角色") @Log(title = "角色信息-角色删除角色", businessType = BusinessType.DELETE) @DeleteMapping("/deleteById/{ids}") @@ -240,7 +232,6 @@ /** * 获取角色选择框列表 */ - // @PreAuthorize("@ss.hasPermi('system:role:query')") @GetMapping("/optionselect") public AjaxResult optionselect() { @@ -250,7 +241,6 @@ /** * 查询已分配用户角色列表 */ - // @PreAuthorize("@ss.hasPermi('system:role:list')") @GetMapping("/authUser/allocatedList") public TableDataInfo allocatedList(SysUser user) { @@ -262,7 +252,6 @@ /** * 查询未分配用户角色列表 */ - // @PreAuthorize("@ss.hasPermi('system:role:list')") @GetMapping("/authUser/unallocatedList") public TableDataInfo unallocatedList(SysUser user) { @@ -274,7 +263,6 @@ /** * 取消授权用户 */ - // @PreAuthorize("@ss.hasPermi('system:role:edit')") @Log(title = "角色管理", businessType = BusinessType.GRANT) @PutMapping("/authUser/cancel") public AjaxResult cancelAuthUser(@RequestBody SysUserRole userRole) @@ -285,7 +273,6 @@ /** * 批量取消授权用户 */ - // @PreAuthorize("@ss.hasPermi('system:role:edit')") @Log(title = "角色管理", businessType = BusinessType.GRANT) @PutMapping("/authUser/cancelAll") public AjaxResult cancelAuthUserAll(Long roleId, Long[] userIds) @@ -296,7 +283,6 @@ /** * 批量选择用户授权 */ - // @PreAuthorize("@ss.hasPermi('system:role:edit')") @Log(title = "角色管理", businessType = BusinessType.GRANT) @PutMapping("/authUser/selectAll") public AjaxResult selectAuthUserAll(Long roleId, Long[] userIds) @@ -308,7 +294,6 @@ /** * 获取对应角色部门树列表 */ - // @PreAuthorize("@ss.hasPermi('system:role:query')") @GetMapping(value = "/deptTree/{roleId}") public AjaxResult deptTree(@PathVariable("roleId") Long roleId) { -- Gitblit v1.7.1