fix: 修正mealSurplus接口地址为8087端口,修复LED MQTT消息解析

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-08-09 16:35:40 +08:00
co-authored by Claude Sonnet 4.6
parent 57a11ec931
commit 42f2d3bd03
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ export default {
}).then((res) => {
console.log(res);
callBackMqttMessage('led', (data) => {
this.getInfoByDevice(data?.message || {});
this.getInfoByDevice(data.message.deviceCode);
});
}).catch((err) => {
console.log(err)
@@ -129,7 +129,7 @@ export default {
var params = {};
var _this = this;
httpRequest("GET", "https://dev.yixiong-tech.com:8081/nutrition/neglect/large-screen/kitchen", params, {
httpRequest("GET", "http://dev.yixiong-tech.com:8087/nutrition/neglect/large-screen/kitchen", params, {
"X-DEVICE-CODE": "XIAOMI-00999",
"authorization": "57ee87183f2a4fa59683ec9ef41c8f5d"
}).then(function(res) {