|
@@ -0,0 +1,91 @@
|
|
|
+mybatis:
|
|
|
+ refresh:
|
|
|
+ delay-seconds: 10
|
|
|
+ enabled: true
|
|
|
+ sleep-seconds: 20
|
|
|
+mybatis-plus:
|
|
|
+ configuration:
|
|
|
+ defaultStatementTimeout: 3
|
|
|
+ lazy-loading-enabled: true
|
|
|
+ map-underscore-to-camel-case: true
|
|
|
+ global-config:
|
|
|
+ db-config:
|
|
|
+ id-type: auto
|
|
|
+ mapperRegistryCache: true
|
|
|
+ mapper-locations: classpath*:mapper/**/*.xml
|
|
|
+server:
|
|
|
+ compression:
|
|
|
+ enabled: true
|
|
|
+ mime-types: application/javascript,text/css,application/json,application/xml,text/html,text/xml,text/plain
|
|
|
+spring:
|
|
|
+ autoconfigure:
|
|
|
+ exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
|
|
|
+ cache:
|
|
|
+ ehcache:
|
|
|
+ config: classpath:ehcache.xml
|
|
|
+ enabled: false
|
|
|
+ redis:
|
|
|
+ enabled: true
|
|
|
+ datasource:
|
|
|
+ druid:
|
|
|
+ stat-view-servlet:
|
|
|
+ enabled: true
|
|
|
+ login-password: '@dmin1234'
|
|
|
+ login-username: admin
|
|
|
+ reset-enable: true
|
|
|
+ url-pattern: /druid/*
|
|
|
+ dynamic:
|
|
|
+ datasource:
|
|
|
+ master:
|
|
|
+ password: fuYuChuan@123
|
|
|
+ url: jdbc:mysql://47.98.201.187:3306/jdxf?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&characterEncoding=utf8&allowMultiQueries=true
|
|
|
+ username: fuYuChuan
|
|
|
+ UskyOw:
|
|
|
+ password: fuYuChuan@123
|
|
|
+ url: jdbc:mysql://47.98.201.187:3306/UskyOw?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&characterEncoding=utf8&allowMultiQueries=true
|
|
|
+ username: fuYuChuan
|
|
|
+ usky-website:
|
|
|
+ password: 494211
|
|
|
+ url: jdbc:mysql://localhost:3307/jdxf?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&characterEncoding=utf8&allowMultiQueries=true
|
|
|
+ username: root
|
|
|
+ druid:
|
|
|
+ initial-size: 5
|
|
|
+ min-idle: 5
|
|
|
+ maxActive: 20
|
|
|
+ maxWait: 60000
|
|
|
+ timeBetweenEvictionRunsMillis: 60000
|
|
|
+ minEvictableIdleTimeMillis: 300000
|
|
|
+ validationQuery: SELECT 1 FROM DUAL
|
|
|
+ testWhileIdle: true
|
|
|
+ testOnBorrow: false
|
|
|
+ testOnReturn: false
|
|
|
+ poolPreparedStatements: true
|
|
|
+ maxPoolPreparedStatementPerConnectionSize: 20
|
|
|
+ filters: stat,slf4j
|
|
|
+ connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
|
+ primary: master
|
|
|
+ jackson:
|
|
|
+ date-format: yyyy-MM-dd HH:mm:ss
|
|
|
+ default-property-inclusion: always
|
|
|
+ deserialization:
|
|
|
+ fail-on-unknown-properties: false
|
|
|
+ parser:
|
|
|
+ allow-single-quotes: true
|
|
|
+ allow-unquoted-control-chars: true
|
|
|
+ serialization:
|
|
|
+ fail-on-empty-beans: false
|
|
|
+ time-zone: GMT+8
|
|
|
+ redis:
|
|
|
+ host: 172.16.120.165
|
|
|
+ password: 123456
|
|
|
+ port: 6379
|
|
|
+ timeout: 10000
|
|
|
+ tenant:
|
|
|
+ enable: false
|
|
|
+ servlet:
|
|
|
+ multipart:
|
|
|
+ max-file-size: 10MB
|
|
|
+ max-request-size: 15MB
|
|
|
+sign:
|
|
|
+ expireTime: 30000
|
|
|
+ secretKey: 05abbe4e91002334ddf79b451b79be5a
|