fix: 修正mealSurplus接口地址为8087端口,修复LED MQTT消息解析
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user