src/main/java/org/springblade/modules/system/controller/RoleController.java
@@ -72,6 +72,18 @@ return R.data(RoleWrapper.build().entityVO(detail)); } /** * 详情 */ @GetMapping("/details") @ApiOperationSupport(order = 1) @ApiOperation(value = "详情", notes = "传入role") public R<Role> details(Role role) { Role detail = roleService.getOne(Condition.getQueryWrapper(role)); return R.data(detail); } /** * 列表 */ @@ -148,4 +160,11 @@ return R.status(temp); } @GetMapping("/selectRole") public R selectRole() { return R.data(roleService.selectRole()); } }