luck 2 年 前
コミット
a9bef17bfd
2 ファイル変更3 行追加2 行削除
  1. 1 1
      pages/order/access/access.js
  2. 2 1
      pages/order/deposit/deposit.js

+ 1 - 1
pages/order/access/access.js

@@ -38,7 +38,7 @@ Page({
             var network_id=this.data.network_id;
             var order_num=app.getQueryVariable(url,"orde_num");
             wx.navigateTo({
-              url: '/pages/order/deposit/deposit?network_id='+network_id+"&order_num="+order_num+"&is_deposit=1"
+              url: '/pages/order/deposit/deposit?network_id='+network_id+"&device_id="+order_num+"&order_num="+order_num+"&is_deposit=1"
             })
             console.log(result)
         },

+ 2 - 1
pages/order/deposit/deposit.js

@@ -169,6 +169,7 @@ Page({
             order_no: no,
             order_num: that.data.device_id,
         }, "post").then(function (res) {
+            console.log(res);
             if (res.code != 200) {
 
                 that.countDown();
@@ -189,7 +190,7 @@ Page({
                     that.setData({
                         show: !that.data.show
                     })
-                }, 3000)
+                }, 1000)
 
             } else {
                 console.log(res);