|
|
@ -134,9 +134,9 @@ spring: |
|
|
|
# connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000 |
|
|
|
datasource: |
|
|
|
master: |
|
|
|
url: jdbc:mysql://47.120.64.83:3306/a-aotice-api?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&autoReconnect=true&failOverReadOnly=false |
|
|
|
url: jdbc:mysql://8.138.162.67:3306/travel?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&autoReconnect=true&failOverReadOnly=false |
|
|
|
username: root |
|
|
|
password: n+~@kB_Z |
|
|
|
password: Fk4q*h@V |
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver |
|
|
|
# 多数据源配置 |
|
|
|
#multi-datasource1: |
|
|
@ -147,7 +147,7 @@ spring: |
|
|
|
#redis 配置 |
|
|
|
redis: |
|
|
|
database: 4 |
|
|
|
host: 47.120.64.83 |
|
|
|
host: 8.138.162.67 |
|
|
|
lettuce: |
|
|
|
pool: |
|
|
|
max-active: -1 #最大连接数据库连接数,设 -1 为没有限制 |
|
|
@ -155,7 +155,7 @@ spring: |
|
|
|
max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。 |
|
|
|
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制 |
|
|
|
shutdown-timeout: 1000ms |
|
|
|
password: 'aq.888888' |
|
|
|
password: 'gmmGMM@2024' |
|
|
|
port: 6379 |
|
|
|
#mybatis plus 设置 |
|
|
|
mybatis-plus: |
|
|
|