智慧保安后台管理-外网-验收版本
tangzy
2021-12-06 cc057177b2fb17aee9a173a6adbabdc578fd74c7
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());
   }
}