| | |
| | | @ApiImplicitParam(name = "uid", value = "用户Uid", dataType = "String", paramType = "query", example = "admin") |
| | | }) |
| | | @GetMapping(value = "/selectPerms") |
| | | public ResponseMsg<List<PermsAuthEntity>> selectPerms(String uid) { |
| | | public ResponseMsg<List<String>> selectPerms(String uid) { |
| | | try { |
| | | List<PermsAuthEntity> rs = permsService.selectPerms(uid); |
| | | List<String> rs = permsService.selectPerms(uid); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "根据用户Uid查询权限授权2") |
| | | @ApiOperation(value = "根据用户Uid查询权限授权实体集合") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "uid", value = "用户Uid", dataType = "String", paramType = "query", example = "admin") |
| | | }) |
| | | @GetMapping(value = "/selectPerms2") |
| | | public ResponseMsg<List<String>> selectPerms2(String uid) { |
| | | @GetMapping(value = "/selectPermsEntity") |
| | | public ResponseMsg<List<PermsAuthEntity>> selectPermsEntity(String uid) { |
| | | try { |
| | | List<String> rs = permsService.selectPerms2(uid); |
| | | List<PermsAuthEntity> rs = permsService.selectPermsEntity(uid); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |