refactor: 重构MQTT多连接架构并对齐dataBoard接口

- MQTT 从单连接改为按 type 隔离的多连接管理,新增 disconnectMqtt
- dataBoard 对齐新接口:字段重命名、POST请求、广告数据合并到同一接口
- LED 价格改为动态绑定,MQTT回调适配多连接模式
- 新增 dataBoard 独立 MQTT 环境变量配置

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-08-07 18:00:30 +08:00
co-authored by Claude Opus 4.7
parent ca5b21bd9a
commit 1ef8e823ed
7 changed files with 153 additions and 145 deletions
+9 -3
View File
@@ -11,6 +11,12 @@ VUE_APP_ST_MQTT_PORT = 61614
VUE_APP_CT_MQTT_URL = vip.shuziweidao.com
VUE_APP_CT_MQTT_PORT = 61614
VUE_APP_LED_MQTT_URL = wss.dm.yixiong-tech.com
VUE_APP_LED_MQTT_PORT = 8443
VUE_APP_LED_MQTT_USERNAME = test
VUE_APP_LED_MQTT_PASSWORD = Yx123456
VUE_APP_LED_MQTT_PORT = 80
VUE_APP_LED_MQTT_USERNAME = admin
VUE_APP_LED_MQTT_PASSWORD = 7dzkZU1GOnYgNP0Y
# dataBoard 排行大屏 mqtt 通信地址
VUE_APP_DB_MQTT_URL = wss.dm.yixiong-tech.com
VUE_APP_DB_MQTT_PORT = 80
VUE_APP_DB_MQTT_USERNAME = admin
VUE_APP_DB_MQTT_PASSWORD = 7dzkZU1GOnYgNP0Y