diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index bbc08ca..913801b 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -6,12 +6,9 @@ spring: druid: # 主库数据源 master: -# url: jdbc:mysql://175.27.215.92:3306/iot_smarthotspot?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 -# username: root -# password: haiwei@123 url: jdbc:mysql://127.0.0.1:3306/iot_smarthotspot?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root - password: 123456 + password: haiwei@123 # 从库数据源 slave: # 从数据源开关/默认关闭 diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index e6ec990..68f19aa 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -7,8 +7,8 @@ ruoyi: # 版权年份 copyrightYear: 2024 # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) - # profile: E:/SaiLun/uploadPath - profile: D:/ruoyi/uploadPath + profile: E:/SaiLun/uploadPath + myPath: D:/智慧热电监控平台 # 获取ip地址开关 addressEnabled: false # 验证码类型 math 数字计算 char 字符验证 @@ -69,16 +69,12 @@ spring: redis: # 地址 host: 127.0.0.1 -# host: 175.27.215.92 -# host: 127.0.0.1 # 端口,默认为6379 port: 6379 # 数据库索引 database: 12 # 密码 - password: 123456 -# password: redis@2023 -# password: 123456 + password: hw123456 # 连接超时时间 timeout: 10s lettuce: