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)