| | |
| | | return new ResponseEntity<>(pageInfo,HttpStatus.OK); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询国标树下的通道 |
| | | * @param deviceId 设备ID |
| | |
| | | @Parameter(name = "count", description = "每页条数", required = true) |
| | | @GetMapping("/tree/channel/{deviceId}") |
| | | public ResponseEntity<PageInfo> getChannelInTreeNode(@PathVariable String deviceId, @RequestParam(required = false) String parentId, int page, int count){ |
| | | |
| | | |
| | | if (page <= 0) { |
| | | page = 1; |
| | |
| | | # 是否将日志存储进数据库 |
| | | logInDatebase: true |
| | | |
| | | # 在线文档: swagger-ui(生产环境建议关闭) |
| | | doc: |
| | | enabled: true |
| | | # 关闭在线文档(生产环境建议关闭) |
| | | springdoc: |
| | | api-docs: |
| | | enabled: false |
| | | swagger-ui: |
| | | enabled: false |
| | | |
| | | # 版本信息, 不需修改 |
| | | version: |
| | |
| | | record-push-live: true |
| | | auto-apply-play: true |
| | | |
| | | # 在线文档: swagger-ui(生产环境建议关闭) |
| | | doc: |
| | | enabled: true |
| | | |
| | | # 版本信息, 不需修改 |
| | | version: |