修改配置和协议解析

This commit is contained in:
chy
2026-05-11 00:11:02 +08:00
parent 5f351425b9
commit de71466c0a
9 changed files with 42 additions and 35 deletions

View File

@@ -56,7 +56,7 @@ spring:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/lideeiot_2.0?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: root
password: gryy@8888
filters: stat,wall
filter:
stat:
@@ -111,12 +111,12 @@ spring:
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
# mqtt 配置
mqtt:
username: iotweib # 账号
password: gryy@8888 # 密码
host-url: tcp://192.168.1.252:1883 # mqtt连接tcp地址
# username: admin # 账号
# password: lidee666 # 密码
# host-url: tcp://127.0.0.1:1883 # mqtt连接tcp地址
# username: iotweib # 账号
# password: gryy@8888 # 密码
# host-url: tcp://192.168.1.251:1883 # mqtt连接tcp地址
username: admin # 账号
password: lidee666 # 密码
host-url: tcp://127.0.0.1:1883 # mqtt连接tcp地址
client-id: ${random.int} # 客户端Id不能相同采用随机数 ${random.value}
default-topic: test # 默认主题
timeout: 30 # 超时时间