|
@@ -8,7 +8,7 @@ spring:
|
|
|
# redis 配置
|
|
|
redis:
|
|
|
# 地址
|
|
|
- host: 127.0.0.1
|
|
|
+ host: 120.78.152.8
|
|
|
# 端口,默认为6379
|
|
|
port: 6379
|
|
|
# 数据库索引
|
|
@@ -33,16 +33,16 @@ spring:
|
|
|
druid:
|
|
|
# 主库数据源
|
|
|
master:
|
|
|
- url: jdbc:mysql://localhost:3306/cadmin-mybatis?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
- username: root
|
|
|
- password: 123456
|
|
|
+ url: jdbc:mysql://120.76.84.45:3306/eccs?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+ username: tuser
|
|
|
+ password: Qq!123
|
|
|
# 从库数据源
|
|
|
slave:
|
|
|
# 从数据源开关/默认关闭
|
|
|
enabled: false
|
|
|
- url: jdbc:mysql://localhost:3306/cadmin-mybatis?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
- username: root
|
|
|
- password: 123456
|
|
|
+ url: jdbc:mysql://120.76.84.45:3306/eccs?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
+ username: tuser
|
|
|
+ password: Qq!123
|
|
|
# 初始连接数
|
|
|
initialSize: 5
|
|
|
# 最小连接池数量
|
|
@@ -97,7 +97,7 @@ swagger:
|
|
|
# 是否开启swagger
|
|
|
enabled: true
|
|
|
# 请求前缀
|
|
|
- pathMapping: /dev-api
|
|
|
+ pathMapping: /test-api
|
|
|
|
|
|
# 日志配置
|
|
|
logging:
|