| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | import javax.validation.Valid; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 应用管理控制器 |
| | |
| | | @NonDS |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("/client") |
| | | @RequestMapping("/blade-system/client") |
| | | @ApiIgnore |
| | | @Api(value = "应用管理", tags = "接口") |
| | | //@PreAuth(RoleConstant.HAS_ROLE_ADMINISTRATOR) |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 客户端列表树 |
| | | * @param authClient |
| | | * @return |
| | | */ |
| | | @GetMapping("/tree") |
| | | @ApiOperationSupport(order = 7) |
| | | @ApiOperation(value = "分页", notes = "传入client") |
| | | public R tree(AuthClient authClient) { |
| | | List<AuthClient> pages = clientService.tree(authClient); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | } |