From 129963e5b71caff7f4d01f6417ca465b3e73c10a Mon Sep 17 00:00:00 2001 From: zch Date: Mon, 18 Nov 2024 15:23:42 +0800 Subject: [PATCH] =?UTF-8?q?build(Admin):=20=E6=9B=B4=E6=96=B0=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E9=85=8D=E7=BD=AE-=20=E4=BF=AE=E6=94=B9=20profile=20?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E4=B8=BA=20E:/SaiLun/uploadPath=20-=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=20myPath=20=E9=85=8D=E7=BD=AE=E9=A1=B9?= =?UTF-8?q?=E4=B8=BA=20D:/=E6=99=BA=E6=85=A7=E7=83=AD=E7=94=B5=E7=9B=91?= =?UTF-8?q?=E6=8E=A7=E5=B9=B3=E5=8F=B0=20-=20=E6=9B=B4=E6=96=B0=20Redis=20?= =?UTF-8?q?=E5=AF=86=E7=A0=81=E4=B8=BA=20hw123456=20-=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=20Druid=20=E6=95=B0=E6=8D=AE=E6=BA=90=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E4=B8=BA=20haiwei@123?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/application-druid.yml | 5 +---- ruoyi-admin/src/main/resources/application.yml | 10 +++------- 2 files changed, 4 insertions(+), 11 deletions(-) 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: