mirror of
https://github.com/kerwincui/FastBee.git
synced 2025-10-05 16:18:05 +08:00
配置文件改善
This commit is contained in:
@@ -22,7 +22,7 @@ spring:
|
|||||||
# 默认不启用TDengine,true=启用,false=不启用
|
# 默认不启用TDengine,true=启用,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
|
||||||
|
@@ -8,8 +8,8 @@ ruoyi:
|
|||||||
copyrightYear: 2021
|
copyrightYear: 2021
|
||||||
# 实例演示开关
|
# 实例演示开关
|
||||||
demoEnabled: true
|
demoEnabled: true
|
||||||
# 文件路径,以uploadPath结尾 示例( Windows配置D:/wumei-smart/uploadPath,Linux配置 /var/wumei-smart/java/uploadPath)
|
# 文件路径,以uploadPath结尾 示例( Windows配置 D:/uploadPath,Linux配置 /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:
|
||||||
|
Reference in New Issue
Block a user