|
@@ -130,10 +130,10 @@ spring:
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
datasource:
|
|
datasource:
|
|
master:
|
|
master:
|
|
- url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?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
|
|
|
|
|
|
+ url: jdbc:postgresql://www.tangjia7.com:15432/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
|
|
+ username: postgres
|
|
|
|
+ password: demo123
|
|
|
|
+ driver-class-name: org.postgresql.Driver
|
|
# 多数据源配置
|
|
# 多数据源配置
|
|
#multi-datasource1:
|
|
#multi-datasource1:
|
|
#url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
#url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
|
|
@@ -143,8 +143,8 @@ spring:
|
|
#redis 配置
|
|
#redis 配置
|
|
redis:
|
|
redis:
|
|
database: 0
|
|
database: 0
|
|
- host: 127.0.0.1
|
|
|
|
- port: 6379
|
|
|
|
|
|
+ host: www.tangjia7.com
|
|
|
|
+ port: 16379
|
|
password: ''
|
|
password: ''
|
|
#mybatis plus 设置
|
|
#mybatis plus 设置
|
|
mybatis-plus:
|
|
mybatis-plus:
|
|
@@ -226,7 +226,7 @@ jeecg:
|
|
logRetentionDays: 30
|
|
logRetentionDays: 30
|
|
#分布式锁配置
|
|
#分布式锁配置
|
|
redisson:
|
|
redisson:
|
|
- address: 127.0.0.1:6379
|
|
|
|
|
|
+ address: www.tangjia7.com:16379
|
|
password:
|
|
password:
|
|
type: STANDALONE
|
|
type: STANDALONE
|
|
enabled: true
|
|
enabled: true
|