From 635d762aef37b5de6cd2e34f4a076ab56d9a239d Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期五, 11 四月 2025 17:35:11 +0800
Subject: [PATCH] 1. 添加自动输出接口API文档功能

---
 src/main/resources/application.yml |   31 +++++++------------------------
 1 files changed, 7 insertions(+), 24 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index e03ad45..f94f027 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,30 +1,13 @@
 spring:
   datasource:
     driver-class-name: com.mysql.cj.jdbc.Driver
-#    灞�鍩熺綉鏈嶅姟鍣�
-#    url: jdbc:mysql://192.168.0.200:3306/dronemonitor?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
-#    username: root
-#    password: cn.FLIGHTFEATHER
-
-#    绾夸笂鏈嶅姟鍣�
-    url: jdbc:mysql://localhost:3306/dronemonitor?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
-    username: dronemonitor
-    password: dronemonitor_hackxrnomxm
-
-#    寮�鍙戞湰鍦版湇鍔″櫒
-#    url: jdbc:mysql://localhost:3306/dronemonitor?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
-#    username: root
-#    password: 123456
-
-#   寮�鍙戣繙绋嬫湇鍔″櫒
-#    url: jdbc:mysql://47.100.191.150:3306/dronemonitor?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
-#    username: remoteU1
-#    password: eSoF8DnzfGTlhAjE
     hikari:
       maximum-pool-size: 500
       minimum-idle: 20
       idle-timeout: 60000
       connection-timeout: 60000
+  profiles:
+    active: @profileActive@
   jmx:
     enabled: false
 
@@ -54,8 +37,8 @@
     supportMethodsArguments: true
     params: count=countSql
 
-springfox:
-  documentation:
-    swagger:
-      v2:
-        enabled: false
\ No newline at end of file
+# Swagger json url address
+# etc. https://petstore.swagger.io/
+swagger.url: http://localhost:8080/v3/api-docs
+# api璁块棶缃戝潃
+# api url : http://localhost:8080/swagger-ui/index.html
\ No newline at end of file

--
Gitblit v1.9.3