From 4ad8d2a84105ad3701d700a37430c3c6318bf2d1 Mon Sep 17 00:00:00 2001 From: 17792275749 <812100002@qq.com> Date: Wed, 23 Apr 2025 19:08:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=20CF577?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/app.js b/app.js index 4094c2a..ea52ae5 100644 --- a/app.js +++ b/app.js @@ -5,15 +5,15 @@ App({ globalData: { // wx.request 请求的服务地址 - // wxRequestUrl: "https://device.shuziweidao.com/gateway/", - wxRequestUrl: "http://192.168.10.173:8889/", + wxRequestUrl: "https://device.shuziweidao.com/gateway/", + // wxRequestUrl: "http://192.168.10.173:8889/", // 秤的所有信息 ppScale: { plugin: null, activeProtocol: null, - // domain: "http://device.shuziweidao.com/gateway", - domain: "http://192.168.10.173:8889", + domain: "http://device.shuziweidao.com:80/gateway", + // domain: "http://192.168.10.173:8889", wifi: { ssid: "", password: "" @@ -65,6 +65,27 @@ App({ "status": 0, "uhStatus": 1, "updateBy": null + }, { + "advLength": 999, + "calorieStatus": 0, + "createBy": null, + "deviceAccuracyType": 2, + "deviceCalcuteType": 4, + "deviceConnectType": 2, + "deviceFuncType": 223, + "deviceName": "CF577", + "devicePowerType": 3, + "deviceProtocolType": 3, + "deviceType": 1, + "deviceUnitType": "0,1,11", + "id": 51, + "imgUrl": null, + "macAddressStart": 6, + "remark": null, + "sign": "FF", + "status": 0, + "uhStatus": 1, + "updateBy": null }], // 即将要搜索周边秤的配置 list: [], // 根据配置搜索到秤的列表 mac: null, // 选中的设备mac地址/SN码