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码