修改解析协议

This commit is contained in:
chy
2026-04-22 10:13:24 +08:00
parent b06931cf24
commit 14cb86f051
7 changed files with 161 additions and 10 deletions

View File

@@ -111,9 +111,12 @@ spring:
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
# mqtt 配置
mqtt:
username: lidee # 账号
password: lidee # 密码
host-url: tcp://localhost:1883 # mqtt连接tcp地址
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地址
client-id: ${random.int} # 客户端Id不能相同采用随机数 ${random.value}
default-topic: test # 默认主题
timeout: 30 # 超时时间

View File

@@ -111,9 +111,9 @@ spring:
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
# mqtt 配置
mqtt:
username: lidee # 账号
password: lidee # 密码
host-url: tcp://localhost:1883 # mqtt连接tcp地址
username: iotweb243 # 账号
password: gryy@8888 # 密码
host-url: tcp://192.168.1.252:1883 # mqtt连接tcp地址
client-id: ${random.int} # 客户端Id不能相同采用随机数 ${random.value}
default-topic: test # 默认主题
timeout: 30 # 超时时间

View File

@@ -5,8 +5,8 @@ lidee:
copyrightYear: 2023 # 版权年份
demoEnabled: true # 实例演示开关
# 文件路径以uploadPath结尾 示例( Windows配置 D:/uploadPathLinux配置 /uploadPath
profile: D:/uploadPath
# profile: /opt/uploadPath
# profile: D:/uploadPath
profile: /opt/uploadPath
addressEnabled: true # 获取ip地址开关
captchaType: math # 验证码类型 math 数组计算 char 字符验证
@@ -23,10 +23,12 @@ server:
min-spare: 100 # Tomcat启动初始化的线程数默认值10
# 基于netty的服务器
broker:
enabled: true # mqttBroker类型选择, true: 基于netty的mqttBroker和webSocket false: emq的mqttBroker
enabled: false # mqttBroker类型选择, true: 基于netty的mqttBroker和webSocket false: emq的mqttBroker
port: 1883
websocket-port: 8083
websocket-path: /mqtt
# user: ceshi
# password: lidee@123
keep-alive: 70 # 默认的全部客户端心跳上传时间
#TCP服务端口
tcp: