Browse Source

--修改服务器 redis配置地址

develop
mengff 11 months ago
parent
commit
2c37e68045
  1. 4
      ruoyi-admin/src/main/resources/application-druid.yml
  2. 4
      ruoyi-admin/src/main/resources/application.yml

4
ruoyi-admin/src/main/resources/application-druid.yml

@ -8,10 +8,10 @@ spring:
master:
# 公司数据库地址
# url: jdbc:mysql://10.168.3.169:3306/athena?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
url: jdbc:mysql://39.106.31.193:3306/jihe-dc?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
url: jdbc:mysql://10.168.56.204:3306/jihe-dc?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
username: root
# password: Platform123!@#
password: 123456
password: Platform123!@#
# 从库数据源
slave:
# 从数据源开关/默认关闭

4
ruoyi-admin/src/main/resources/application.yml

@ -18,7 +18,7 @@ ruoyi:
# 开发环境配置
server:
# 服务器的HTTP端口,默认为8080
port: 8088
port: 8080
servlet:
# 应用的访问路径
context-path: /
@ -69,7 +69,7 @@ spring:
# 数据库索引
database: 0
# 密码
password: 123456
password: Redis123!@#
# 连接超时时间
timeout: 10s
lettuce:

Loading…
Cancel
Save