|
@@ -3,6 +3,7 @@ spring.main.lazy-initialization=false
|
|
|
spring.main.allow-bean-definition-overriding=true
|
|
|
# application
|
|
|
server.port=8085
|
|
|
+temp.basedir=C:/Users/pc/Desktop/qrcode/
|
|
|
# mybatis-plus
|
|
|
mybatis-plus.mapper-locations=classpath*:mapper/*.xml
|
|
|
mybatis-plus.configuration.lazy-loading-enabled=true
|
|
@@ -16,9 +17,9 @@ mybatis.refresh.sleep-seconds=20
|
|
|
# datasource
|
|
|
spring.autoconfigure.exclude=com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
|
|
|
spring.datasource.dynamic.primary=dxtop
|
|
|
-spring.datasource.dynamic.datasource.dxtop.url=jdbc:mysql://120.55.70.156:3306/dxtop?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC&characterEncoding=utf8&allowMultiQueries=true
|
|
|
+spring.datasource.dynamic.datasource.dxtop.url=jdbc:mysql://124.71.145.219:3306/dxtop?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&characterEncoding=utf8&allowMultiQueries=true
|
|
|
spring.datasource.dynamic.datasource.dxtop.username=root
|
|
|
-spring.datasource.dynamic.datasource.dxtop.password=123456
|
|
|
+spring.datasource.dynamic.datasource.dxtop.password=Wjzn2021Db
|
|
|
spring.datasource.dynamic.druid.initial-size=5
|
|
|
spring.datasource.dynamic.druid.min-idle=5
|
|
|
spring.datasource.dynamic.druid.max-active=30
|
|
@@ -62,3 +63,38 @@ spring.jackson.parser.allow-single-quotes=true
|
|
|
# gzip
|
|
|
server.compression.enabled=true
|
|
|
server.compression.mime-types=application/javascript,text/css,application/json,application/xml,text/html,text/xml,text/plain
|
|
|
+
|
|
|
+# cache
|
|
|
+spring.redis.database=0
|
|
|
+spring.redis.host=124.71.174.104
|
|
|
+spring.redis.port=6379
|
|
|
+spring.redis.password=123456
|
|
|
+spring.redis.timeout=10000
|
|
|
+spring.redis.jedis.pool.max-active=1000
|
|
|
+spring.redis.jedis.pool.max-idle=300
|
|
|
+spring.redis.jedis.pool.min-idle=5
|
|
|
+spring.redis.jedis.pool.max-wait=1000
|
|
|
+
|
|
|
+# token
|
|
|
+token.header: Authorization
|
|
|
+token.secret: abcdefghijklmnopqrstuvwxyz
|
|
|
+token.expireTime: 144
|
|
|
+
|
|
|
+# xss
|
|
|
+xss.enabled: true
|
|
|
+xss.excludes: /system/notice
|
|
|
+xss.urlPatterns: /system/*,/monitor/*,/tool/*
|
|
|
+
|
|
|
+# project
|
|
|
+dx.name: dx
|
|
|
+dx.version: 3.6.0
|
|
|
+dx.copyrightYear: 2021
|
|
|
+dx.demoEnabled: true
|
|
|
+dx.addressEnabled: false
|
|
|
+dx.captchaType: math
|
|
|
+
|
|
|
+# mq
|
|
|
+spring.rabbitmq.host=124.71.174.104
|
|
|
+spring.rabbitmq.port=5672
|
|
|
+spring.rabbitmq.username=admin
|
|
|
+spring.rabbitmq.password=admin
|