配置文件改善

This commit is contained in:
kerwincui
2022-06-18 23:46:35 +08:00
parent 468ec83bfe
commit f302f8c8bc
2 changed files with 5 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ spring:
# 默认不启用TDenginetrue=启用false=不启用 # 默认不启用TDenginetrue=启用false=不启用
enabled: false enabled: false
driverClassName: com.taosdata.jdbc.TSDBDriver driverClassName: com.taosdata.jdbc.TSDBDriver
url: jdbc:TAOS://127.0.0.1:6030/wumei_smart_log?timezone=Asia/Beijing&charset=utf-8 url: jdbc:TAOS://localhost:6030/wumei_smart_log?timezone=Asia/Beijing&charset=utf-8
username: root username: root
password: taosdata password: taosdata
dbName: wumei_smart_log dbName: wumei_smart_log

View File

@@ -8,8 +8,8 @@ ruoyi:
copyrightYear: 2021 copyrightYear: 2021
# 实例演示开关 # 实例演示开关
demoEnabled: true demoEnabled: true
# 文件路径以uploadPath结尾 示例( Windows配置D:/wumei-smart/uploadPathLinux配置 /var/wumei-smart/java/uploadPath # 文件路径以uploadPath结尾 示例( Windows配置 D:/uploadPathLinux配置 /uploadPath
profile: /var/wumei-smart/java/uploadPath profile: /uploadPath
# 获取ip地址开关 # 获取ip地址开关
addressEnabled: true addressEnabled: true
# 验证码类型 math 数组计算 char 字符验证 # 验证码类型 math 数组计算 char 字符验证
@@ -82,10 +82,10 @@ spring:
mqtt: mqtt:
username: wumei-smart # 账号 username: wumei-smart # 账号
password: wumei-smart # 密码 password: wumei-smart # 密码
host-url: tcp://localhost:1883 # mqtt连接tcp地址 host-url: tcp://localhost:1883 # mqtt连接tcp地址
client-id: ${random.int} # 客户端Id不能相同采用随机数 ${random.value} client-id: ${random.int} # 客户端Id不能相同采用随机数 ${random.value}
default-topic: test # 默认主题 default-topic: test # 默认主题
timeout: 30000 # 超时时间 timeout: 30 # 超时时间
keepalive: 30 # 保持连接 keepalive: 30 # 保持连接
clearSession: true # 清除会话(设置为false,断开连接,重连后使用原来的会话 保留订阅的主题,能接收离线期间的消息) clearSession: true # 清除会话(设置为false,断开连接,重连后使用原来的会话 保留订阅的主题,能接收离线期间的消息)
task: task: