From 3cf1e4a731e4fd69bb4602c6bd2e44bad350b4df Mon Sep 17 00:00:00 2001 From: Junling Bu Date: Sun, 1 Dec 2019 13:55:00 +0800 Subject: [PATCH] =?UTF-8?q?chore[litemall-wx]:=20=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=A8=A1=E6=8B=9F=E6=94=AF=E4=BB=98=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litemall-wx/pages/payResult/payResult.js | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/litemall-wx/pages/payResult/payResult.js b/litemall-wx/pages/payResult/payResult.js index 64ea8f5e..9ced6f79 100644 --- a/litemall-wx/pages/payResult/payResult.js +++ b/litemall-wx/pages/payResult/payResult.js @@ -31,30 +31,6 @@ Page({ }, payOrder() { let that = this; - // 模拟支付成功,同理,后台也仅仅是返回一个成功的消息而已 - // wx.showModal({ - // title: '目前不能微信支付', - // content: '点击确定模拟支付成功,点击取消模拟未支付成功', - // success: function (res) { - // if (res.confirm) { - // util.request(api.OrderPrepay, { orderId: that.data.orderId }, 'POST').then(res => { - // if (res.errno === 0) { - // that.setData({ - // status: true - // }); - // } - // else { - // util.showErrorToast('支付失败'); - // } - // }); - // } - // else if (res.cancel) { - // util.showErrorToast('支付失败'); - // } - - // } - // }); - util.request(api.OrderPrepay, { orderId: that.data.orderId }, 'POST').then(function(res) {