修改配置和协议解析
This commit is contained in:
@@ -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 # 超时时间
|
||||
|
||||
Reference in New Issue
Block a user