|
@@ -118,7 +118,7 @@ spring:
|
|
|
timeBetweenEvictionRunsMillis: 60000
|
|
|
# 配置一个连接在池中最小生存的时间,单位是毫秒
|
|
|
minEvictableIdleTimeMillis: 300000
|
|
|
-# validationQuery: SELECT 1 FROM DUAL
|
|
|
+ # validationQuery: SELECT 1 FROM DUAL
|
|
|
testWhileIdle: true
|
|
|
testOnBorrow: false
|
|
|
testOnReturn: false
|
|
@@ -131,7 +131,7 @@ spring:
|
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
|
datasource:
|
|
|
master:
|
|
|
- url: jdbc:mysql://106.15.206.14:3306/sen_yu_dz_dev?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
+ url: jdbc:mysql://127.0.0.1:3306/sen_yu_dz_dev?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
username: root
|
|
|
password: root
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
@@ -151,21 +151,21 @@ spring:
|
|
|
username: sa
|
|
|
password: Windows2008R2
|
|
|
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
-# multi-one:
|
|
|
-# url: jdbc:sqlserver://192.168.1.18;DatabaseName=UFDATA_101_2021
|
|
|
-# username: sa
|
|
|
-# password: Windows2008R2
|
|
|
-# driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
-# multi-two:
|
|
|
-# url: jdbc:sqlserver://192.168.1.18;DatabaseName=UFDATA_102_2021
|
|
|
-# username: sa
|
|
|
-# password: Windows2008R2
|
|
|
-# driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
-# multi-three:
|
|
|
-# url: jdbc:sqlserver://192.168.1.18;DatabaseName=UFDATA_103_2021
|
|
|
-# username: sa
|
|
|
-# password: Windows2008R2
|
|
|
-# driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
+ # multi-one:
|
|
|
+ # url: jdbc:sqlserver://192.168.1.18;DatabaseName=UFDATA_101_2021
|
|
|
+ # username: sa
|
|
|
+ # password: Windows2008R2
|
|
|
+ # driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
+ # multi-two:
|
|
|
+ # url: jdbc:sqlserver://192.168.1.18;DatabaseName=UFDATA_102_2021
|
|
|
+ # username: sa
|
|
|
+ # password: Windows2008R2
|
|
|
+ # driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
+ # multi-three:
|
|
|
+ # url: jdbc:sqlserver://192.168.1.18;DatabaseName=UFDATA_103_2021
|
|
|
+ # username: sa
|
|
|
+ # password: Windows2008R2
|
|
|
+ # driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
|
|
|
|
#redis 配置
|
|
|
redis:
|
|
@@ -193,7 +193,7 @@ mybatis-plus:
|
|
|
table-underline: true
|
|
|
configuration:
|
|
|
# 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
|
|
|
- #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
+ log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
# 返回类型为Map,显示null对应的字段
|
|
|
call-setters-on-nulls: true
|
|
|
#jeecg专用配置
|
|
@@ -212,7 +212,7 @@ jeecg :
|
|
|
#webapp文件路径
|
|
|
webapp: /opt/jeecg-boot/webapp
|
|
|
shiro:
|
|
|
- excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**,/api/getUserInfo
|
|
|
+ excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**,/api/getUserInfo
|
|
|
#阿里云oss存储和大鱼短信秘钥配置
|
|
|
oss:
|
|
|
accessKey: ??
|