陈昶聿
2026-04-23 cc3fe1ad9b366533d184d9e239b45f731f014e74
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysRoleController.java
@@ -155,7 +155,7 @@
     */
    //@PreAuthorize("@ss.hasPermi('system:role:edit')")
    @Log(title = "角色管理", businessType = BusinessType.UPDATE)
    @PostMapping("/changeStatus")
    @PostMapping("/changeStatus/edit")
    public AjaxResult changeStatus(@RequestBody SysRole role) {
        roleService.checkRoleAllowed(role);
        roleService.checkRoleDataScope(role.getRoleId());