From b5fc14444eb01c28bb4c59aca2bcf6462b6ddf65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=85=A2=E6=85=A2?= <994797151@qq.com> Date: Mon, 28 Dec 2020 11:43:56 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E6=9B=B4=E6=96=B0=E4=BA=86?= =?UTF-8?q?=E5=95=86=E5=93=81=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/mall/mall_pay/mall_pay.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/mall/mall_pay/mall_pay.js b/pages/mall/mall_pay/mall_pay.js index 68a1420..68ed375 100644 --- a/pages/mall/mall_pay/mall_pay.js +++ b/pages/mall/mall_pay/mall_pay.js @@ -26,7 +26,6 @@ Page({ */ orderInfo(orderId) { wx.$api.order.paymen(orderId).then(res=>{ - console.log(res) this.setData({ orderData : res }) @@ -38,7 +37,7 @@ Page({ */ payment() { wx.$api.mall.wechat({ - trade_no : this.orderData.trade_no + trade_no : this.data.orderData.trade_no }).then(res=>{ console.log(res) let payInfo = JSON.parse(res)