|
@@ -5,9 +5,9 @@ spring:
|
|
|
druid:
|
|
|
lantone:
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
|
- url: jdbc:mysql://192.168.2.237:3307/qc?useUnicode=true&characterEncoding=utf8&useSSL=false
|
|
|
+ url: jdbc:mysql://192.168.2.125:3307/qc?useUnicode=true&characterEncoding=utf8&useSSL=false
|
|
|
username: root
|
|
|
- password: lantone
|
|
|
+ password: LangT0ng@lt
|
|
|
initial-size: 8
|
|
|
min-idle: 1
|
|
|
max-active: 20
|
|
@@ -24,11 +24,12 @@ spring:
|
|
|
filters: stat
|
|
|
connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
|
|
|
use-global-data-source-stat: true
|
|
|
+ #redis
|
|
|
redis:
|
|
|
database:
|
|
|
cache: 10 # cache索引
|
|
|
token: 10 # Token索引
|
|
|
- host: 127.0.0.1 #Redis服务器地址
|
|
|
+ host: 192.168.2.125 #Redis服务器地址
|
|
|
port: 6379 # Redis服务器连接端口(本地环境端口6378,其他环境端口是6379)
|
|
|
password: lantone # Redis服务器连接密码(默认为空)
|
|
|
lettuce:
|