feiyu02
2024-09-06 d17cc66f3026be4609f91fc726b55660aec36e67
src/main/resources/application.yml
@@ -1,21 +1,21 @@
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
    hikari:
      maximum-pool-size: 500
      minimum-idle: 20
      idle-timeout: 60000
      connection-timeout: 60000
  profiles:
    active: @profileActive@
  jmx:
    enabled: false
  #文件上传限制
  servlet:
    multipart:
      max-file-size: 25MB
      max-request-size: 100MB
mybatis:
@@ -35,4 +35,4 @@
    helperDialect: mysql
    reasonable: true
    supportMethodsArguments: true
    params: count=countSql
    params: count=countSql