Commit 117387be8f9590b651da544c2e4a52ecb351aca4

Authored by 648540858
1 parent 7f05c911

更新在线文档的等新方式

src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/device/DeviceQuery.java
... ... @@ -502,7 +502,6 @@ public class DeviceQuery {
502 502 return new ResponseEntity<>(pageInfo,HttpStatus.OK);
503 503 }
504 504  
505   -
506 505 /**
507 506 * 查询国标树下的通道
508 507 * @param deviceId 设备ID
... ... @@ -519,7 +518,6 @@ public class DeviceQuery {
519 518 @GetMapping("/tree/channel/{deviceId}")
520 519 public ResponseEntity<PageInfo> getChannelInTreeNode(@PathVariable String deviceId, @RequestParam(required = false) String parentId, int page, int count){
521 520  
522   -
523 521 if (page <= 0) {
524 522 page = 1;
525 523 }
... ...
src/main/resources/all-application.yml
... ... @@ -186,9 +186,12 @@ user-settings:
186 186 # 是否将日志存储进数据库
187 187 logInDatebase: true
188 188  
189   -# 在线文档: swagger-ui(生产环境建议关闭)
190   -doc:
191   - enabled: true
  189 +# 关闭在线文档(生产环境建议关闭)
  190 +springdoc:
  191 + api-docs:
  192 + enabled: false
  193 + swagger-ui:
  194 + enabled: false
192 195  
193 196 # 版本信息, 不需修改
194 197 version:
... ...
src/main/resources/application-docker.yml
... ... @@ -79,9 +79,6 @@ user-settings:
79 79 record-push-live: true
80 80 auto-apply-play: true
81 81  
82   -# 在线文档: swagger-ui(生产环境建议关闭)
83   -doc:
84   - enabled: true
85 82  
86 83 # 版本信息, 不需修改
87 84 version:
... ...