更新在线文档的等新方式

This commit is contained in:
648540858 2022-08-19 17:22:08 +08:00
parent 7f05c91176
commit 117387be8f
3 changed files with 6 additions and 8 deletions

View File

@ -502,7 +502,6 @@ public class DeviceQuery {
return new ResponseEntity<>(pageInfo,HttpStatus.OK); return new ResponseEntity<>(pageInfo,HttpStatus.OK);
} }
/** /**
* 查询国标树下的通道 * 查询国标树下的通道
* @param deviceId 设备ID * @param deviceId 设备ID
@ -519,7 +518,6 @@ public class DeviceQuery {
@GetMapping("/tree/channel/{deviceId}") @GetMapping("/tree/channel/{deviceId}")
public ResponseEntity<PageInfo> getChannelInTreeNode(@PathVariable String deviceId, @RequestParam(required = false) String parentId, int page, int count){ public ResponseEntity<PageInfo> getChannelInTreeNode(@PathVariable String deviceId, @RequestParam(required = false) String parentId, int page, int count){
if (page <= 0) { if (page <= 0) {
page = 1; page = 1;
} }

View File

@ -186,9 +186,12 @@ user-settings:
# 是否将日志存储进数据库 # 是否将日志存储进数据库
logInDatebase: true logInDatebase: true
# 在线文档: swagger-ui生产环境建议关闭 # 关闭在线文档(生产环境建议关闭)
doc: springdoc:
enabled: true api-docs:
enabled: false
swagger-ui:
enabled: false
# 版本信息, 不需修改 # 版本信息, 不需修改
version: version:

View File

@ -79,9 +79,6 @@ user-settings:
record-push-live: true record-push-live: true
auto-apply-play: true auto-apply-play: true
# 在线文档: swagger-ui生产环境建议关闭
doc:
enabled: true
# 版本信息, 不需修改 # 版本信息, 不需修改
version: version: