|
@@ -17,7 +17,7 @@ ruoyi:
|
|
# 开发环境配置
|
|
# 开发环境配置
|
|
server:
|
|
server:
|
|
# 服务器的HTTP端口,默认为8080
|
|
# 服务器的HTTP端口,默认为8080
|
|
- port: 8080
|
|
|
|
|
|
+ port: 8065
|
|
servlet:
|
|
servlet:
|
|
# 应用的访问路径
|
|
# 应用的访问路径
|
|
context-path: /
|
|
context-path: /
|
|
@@ -36,13 +36,13 @@ spring:
|
|
# redis 配置
|
|
# redis 配置
|
|
redis:
|
|
redis:
|
|
# 地址
|
|
# 地址
|
|
- host: 192.168.101.10
|
|
|
|
|
|
+ host: 127.0.0.1
|
|
# 端口,默认为6379
|
|
# 端口,默认为6379
|
|
port: 6379
|
|
port: 6379
|
|
# 数据库索引
|
|
# 数据库索引
|
|
database: 12
|
|
database: 12
|
|
# 密码
|
|
# 密码
|
|
- password: Boman123
|
|
|
|
|
|
+ password: D3fQYAsw
|
|
# 连接超时时间
|
|
# 连接超时时间
|
|
timeout: 10s
|
|
timeout: 10s
|
|
lettuce:
|
|
lettuce:
|
|
@@ -61,9 +61,9 @@ spring:
|
|
druid:
|
|
druid:
|
|
# 主库数据源
|
|
# 主库数据源
|
|
master:
|
|
master:
|
|
- url: jdbc:mysql://192.168.101.10:3306/OA_kaoqin?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
|
|
|
|
+ url: jdbc:mysql://127.0.0.1:3306/OA_kaoqin?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
username: root
|
|
username: root
|
|
- password: Boman123
|
|
|
|
|
|
+ password: zhaoshang@2018
|
|
# 从库数据源
|
|
# 从库数据源
|
|
slave:
|
|
slave:
|
|
# 从数据源开关/默认关闭
|
|
# 从数据源开关/默认关闭
|