From 0ea94afc853d44c121f6b9c39c7f299b75de0f4f Mon Sep 17 00:00:00 2001 From: liuqi <290219706@qq.com> Date: Fri, 27 May 2022 12:30:48 +0800 Subject: [PATCH] 钱包充值 --- pages/moneyRecharge/moneyRecharge.vue | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pages/moneyRecharge/moneyRecharge.vue b/pages/moneyRecharge/moneyRecharge.vue index 83cae1d..97b5a42 100644 --- a/pages/moneyRecharge/moneyRecharge.vue +++ b/pages/moneyRecharge/moneyRecharge.vue @@ -174,11 +174,9 @@ }); }, payClick() { - let that = this; that.getOpenID() - - + }, wxPayOrder(){ let that = this; @@ -195,8 +193,8 @@ acctType: '1', paySrcType: '204', payType: '12', - realPayMoney: payMoney, - rechargeFee: payMoney, + realPayMoney: payMoney.toString(), + rechargeFee: payMoney.toString(), }; console.log(data) that.$myRequest({ @@ -204,8 +202,6 @@ method: 'POST', data: that.$common.requestSign(data) }).then(res => { - - var mydata = res.data; console.log(mydata); that.MakeWxPay(mydata) -- libgit2 0.21.4