更新配置

This commit is contained in:
kerwincui
2022-03-23 14:27:22 +08:00
parent ff37b79f4d
commit 977261156b
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ spring:
master:
url: jdbc:mysql://localhost/wumei-smart?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: admin
password: wumei-smart
# 从库数据源
slave:
# 从数据源开关/默认关闭

View File

@@ -83,7 +83,7 @@ spring:
username: wumei-smart # 账号
password: wumei-smart # 密码
host-url: tcp://localhost:1883 # mqtt连接tcp地址
client-id: ${random.value} # 客户端Id不能相同采用随机数 ${random.value}
client-id: ${random.int} # 客户端Id不能相同采用随机数 ${random.value}
default-topic: test # 默认主题
timeout: 30000 # 超时时间
keepalive: 30 # 保持连接