柒零 před 1 rokem
rodič
revize
35526c17bd
1 změnil soubory, kde provedl 7 přidání a 2 odebrání
  1. 7 2
      subpages/addMattresses/addMattresses.js

+ 7 - 2
subpages/addMattresses/addMattresses.js

@@ -284,7 +284,7 @@ Page({
 // 开始配网
   bindViewConnect() {
     const that = this;
-    if (bluetoothSelectIndex < 0) {
+    if (that.data.bluetoothSelectIndex < 0) {
       util.showToast("没有指定要配网的设备");
       return false;
     }
@@ -691,10 +691,15 @@ Page({
     }
 
   },
+//   实验室
+// 测试
+//  332016850591
+//  sleep
+// sleep1234
   checkSn(sntram) { 
     const that = this;
     wx.request({
-      url: 'https://aipush.aidsleep.cn/customerlist',
+      url: 'https://aipush.aidsleep.cn/wxchecksn',
       method: 'POST',
       data: {
         token: "89835e65993fee4a6a6cbbe4c271da51e5521822934e13769e61cadabaed72c3" || wx.getStorageSync('token'),