diff --git a/app.js b/app.js index cf0ba96..0d34ec5 100644 --- a/app.js +++ b/app.js @@ -5,8 +5,8 @@ App({ globalData: { // wx.request 请求的服务地址 - // wxRequestUrl: "https://device.shuziweidao.com/gateway/", - wxRequestUrl: "http://192.168.1.207:8889/", + wxRequestUrl: "https://device.shuziweidao.com/gateway/", + // wxRequestUrl: "http://192.168.1.207:8889/", // 秤的所有信息 ppScale: { @@ -14,10 +14,10 @@ App({ plugin: null, activeProtocol: null, - // domain1: "http://device.shuziweidao.com:80/gateway", // 老版本 没有鉴权 - // domain2: "http://device.shuziweidao.com:80/weight", // 新版本 有鉴权 - domain1: "http://192.168.1.207:8889", // 老版本 没有鉴权 - domain2: "http://192.168.1.207:8889/weight", // 新版本 有鉴权 + domain1: "http://device.shuziweidao.com:80/gateway", // 老版本 没有鉴权 + domain2: "http://device.shuziweidao.com:80/weight", // 新版本 有鉴权 + // domain1: "http://192.168.1.207:8889", // 老版本 没有鉴权 + // domain2: "http://192.168.1.207:8889/weight", // 新版本 有鉴权 wifi: { ssid: "", password: ""