|
@@ -7,7 +7,7 @@ spring:
|
|
|
druid:
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
platform: mysql
|
|
|
- url: jdbc:mysql://192.168.2.239:3306/sys-icss?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
|
|
|
+ url: jdbc:mysql://192.168.2.238:3306/sys-icss?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
|
|
|
username: root
|
|
|
password: langtong
|
|
|
# 连接池的配置信息
|
|
@@ -76,7 +76,7 @@ spring:
|
|
|
redis:
|
|
|
database:
|
|
|
cache: 15 # Redis缓存索引
|
|
|
- host: 192.168.2.236 #Redis服务器地址
|
|
|
+ host: 192.168.2.238 #Redis服务器地址
|
|
|
port: 6379 # Redis服务器连接端口
|
|
|
password: lantone # Redis服务器连接密码(默认为空)
|
|
|
lettuce:
|
|
@@ -115,17 +115,3 @@ mybatis-plus:
|
|
|
configuration:
|
|
|
map-underscore-to-camel-case: true
|
|
|
cache-enabled: false
|
|
|
-#redis
|
|
|
-redis:
|
|
|
- database:
|
|
|
- cache: 5 # Redis缓存索引
|
|
|
- host: 192.168.2.236 #Redis服务器地址
|
|
|
- port: 6379 # Redis服务器连接端口
|
|
|
- password: lantone # Redis服务器连接密码(默认为空)
|
|
|
- lettuce:
|
|
|
- pool:
|
|
|
- max-active: 8 # 连接池最大连接数(使用负值表示没有限制)
|
|
|
- max-idle: 5 # 连接池中的最大空闲连接
|
|
|
- max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
- min-idle: 0 # 连接池中的最小空闲连接
|
|
|
- timeout: 20000 # 连接超时时间(毫秒)
|