From dad1d22d69487237c826c0342820acf48cd69ca7 Mon Sep 17 00:00:00 2001 From: kerwincui <164770707@qq.com> Date: Sat, 4 Jun 2022 00:55:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wumei-admin/src/main/resources/application-druid.yml | 8 ++++---- springboot/wumei-admin/src/main/resources/application.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/springboot/wumei-admin/src/main/resources/application-druid.yml b/springboot/wumei-admin/src/main/resources/application-druid.yml index 0a5defb7..f8135ae5 100644 --- a/springboot/wumei-admin/src/main/resources/application-druid.yml +++ b/springboot/wumei-admin/src/main/resources/application-druid.yml @@ -6,9 +6,9 @@ spring: druid: # 主库数据源 master: - url: jdbc:mysql://kerwincui.mysql.rds.aliyuncs.com/wumei-smart?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 - username: kerwincui - password: 1a2b3c4D + url: jdbc:mysql://localhost/wumei-smart?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + username: root + password: admin # 从库数据源 slave: # 从数据源开关/默认关闭 @@ -22,7 +22,7 @@ spring: # 默认不启用TDengine,true=启用,false=不启用 enabled: false driverClassName: com.taosdata.jdbc.TSDBDriver - url: jdbc:TAOS://wumei.live:6030/wumei_smart_log?timezone=Asia/Beijing&charset=utf-8 + url: jdbc:TAOS://127.0.0.1:6030/wumei_smart_log?timezone=Asia/Beijing&charset=utf-8 username: root password: taosdata dbName: wumei_smart_log diff --git a/springboot/wumei-admin/src/main/resources/application.yml b/springboot/wumei-admin/src/main/resources/application.yml index a66cb2fa..60297c88 100644 --- a/springboot/wumei-admin/src/main/resources/application.yml +++ b/springboot/wumei-admin/src/main/resources/application.yml @@ -9,7 +9,7 @@ ruoyi: # 实例演示开关 demoEnabled: true # 文件路径,以uploadPath结尾 示例( Windows配置D:/wumei-smart/uploadPath,Linux配置 /var/wumei-smart/java/uploadPath) - profile: D:/wumei-smart/uploadPath + profile: /var/wumei-smart/java/uploadPath # 获取ip地址开关 addressEnabled: true # 验证码类型 math 数组计算 char 字符验证 @@ -59,13 +59,13 @@ spring: # redis 配置 redis: # 地址 - host: wumei.live + host: localhost # 端口,默认为6379 port: 6379 # 数据库索引 database: 0 # 密码 - password: 1a2b3c4D + password: wumei-smart # 连接超时时间 timeout: 10s lettuce: @@ -82,7 +82,7 @@ spring: mqtt: username: wumei-smart # 账号 password: wumei-smart # 密码 - host-url: tcp://wumei.live:1883 # mqtt连接tcp地址 + host-url: tcp://localhost:1883 # mqtt连接tcp地址 client-id: ${random.int} # 客户端Id,不能相同,采用随机数 ${random.value} default-topic: test # 默认主题 timeout: 30000 # 超时时间