feiyu02
2025-02-07 e133600480d5f688a8375db7708fe531b4726f4a
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
@@ -52,10 +35,4 @@
    helperDialect: mysql
    reasonable: true
    supportMethodsArguments: true
    params: count=countSql
springfox:
  documentation:
    swagger:
      v2:
        enabled: false
    params: count=countSql