From 42f2d3bd0391cb46b1d1000846617b4f0ff84f43 Mon Sep 17 00:00:00 2001 From: wx <645899409@qq.com> Date: Sun, 9 Aug 2026 16:35:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3mealSurplus=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=9C=B0=E5=9D=80=E4=B8=BA8087=E7=AB=AF=E5=8F=A3?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E5=A4=8DLED=20MQTT=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- src/views/led/led.vue | 2 +- src/views/mealSurplusInformation/mealSurplusInformation.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/led/led.vue b/src/views/led/led.vue index cdbf27c..4457766 100644 --- a/src/views/led/led.vue +++ b/src/views/led/led.vue @@ -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) diff --git a/src/views/mealSurplusInformation/mealSurplusInformation.vue b/src/views/mealSurplusInformation/mealSurplusInformation.vue index e268a36..0a4188f 100644 --- a/src/views/mealSurplusInformation/mealSurplusInformation.vue +++ b/src/views/mealSurplusInformation/mealSurplusInformation.vue @@ -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) {