feiyu02
2024-08-15 196bb14112448857a885e32dc4149e308e00b01a
src/main/resources/application.yml
@@ -2,24 +2,6 @@
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.jdbc.Driver
    #-Test-
#    url: jdbc:mysql://192.168.0.200:3306/ledger?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/ledger?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
#    username: root
#    password: 123456
    #-TestEnd-
    url: jdbc:mysql://localhost:3306/ledger?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&allowMultiQueries=true&useSSL=false
    username: ledger
    password: ledger_fxxchackxr
    #   开发远程服务器
#    url: jdbc:mysql://47.100.191.150:3306/ledger?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&allowMultiQueries=true&useSSL=false
#    username: remoteU1
#    password: eSoF8DnzfGTlhAjE
    initialSize: 5
    minIdle: 5
@@ -51,8 +33,9 @@
  jackson:
    time-zone: GMT+8
#根据环境选择配置
  profiles:
    active: pro
    active: @profileActive@
  jmx:
    default-domain: ledger
@@ -73,11 +56,17 @@
logging:
    config: classpath:log4j2.xml
#springfox:
#  documentation:
#    swagger:
#      v2:
#        enabled: true
springfox:
  documentation:
    swagger:
      v2:
        enabled: false
# Swagger json url address
# etc. https://petstore.swagger.io/
swagger.url: http://localhost:8080/v3/swagger.json
swagger.url: http://localhost:8080/v3/api-docs
# api访问网址
# api url : http://localhost:8080/swagger-ui/index.html
#针对微信小程序和安卓app两种前端,目前有部分区别,true:表示app,false:表示小程序
systemIsApp: false