陈昶聿
2026-10-12 76aca650d585eba62dcb04d757c8676cf023cd4e
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());