wu
2023-12-12 9378b8427a86982cb7f408d787384dad12496310
springboot-vue3/src/main/java/com/example/springboot/controller/RoleController.java
@@ -37,6 +37,7 @@
        return Result.success();
    }
    @ApiOperation(value = "根据id删除角色")
    @PostMapping("/removeById")
    @RequiresRoles({"admin"})
@@ -54,6 +55,8 @@
        return Result.success(roleService.getById(role.getId()));
    }
    @ApiOperation(value = "分页查询角色")
    @GetMapping("/selectPage")
    @RequiresRoles({"admin"})