@@ -5,9 +5,9 @@ spring:
druid:
lantone:
driver-class-name: com.mysql.jdbc.Driver
- url: jdbc:mysql://192.168.2.125:3307/qc?useUnicode=true&characterEncoding=utf8&useSSL=false
+ url: jdbc:mysql://192.168.2.237:3307/qc?useUnicode=true&characterEncoding=utf8&useSSL=false
username: root
- password: LangT0ng@lt
+ password: lantone
initial-size: 8
min-idle: 1
max-active: 20
@@ -24,14 +24,13 @@ 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: 192.168.2.125 #Redis服务器地址
+ host: 127.0.0.1 #Redis服务器地址
port: 6379 # Redis服务器连接端口(本地环境端口6378,其他环境端口是6379)
- password: lantone # Redis服务器连接密码(默认为空)
+ password: # Redis服务器连接密码(默认为空)
lettuce:
pool:
max-active: 8 # 连接池最大连接数(使用负值表示没有限制)
@@ -18,7 +18,7 @@ spring:
resources:
static-locations: classpath:/
profiles:
- active: local
+ active: dev
qc:
hospital_id: 1,2,3,4,5,6,7,8,10,11,13,15,20,21,22,23,24,34,35,36