From 999ea060fe6c12584198748b5343599ad92da5ad Mon Sep 17 00:00:00 2001 From: liuqi <290219706@qq.com> Date: Wed, 25 May 2022 10:46:16 +0800 Subject: [PATCH] 我的钱包 充值 --- common/common.js | 4 ++++ pages/moneyRecharge/moneyRecharge.vue | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/common/common.js b/common/common.js index 8699040..10ff7d6 100644 --- a/common/common.js +++ b/common/common.js @@ -10,6 +10,10 @@ const ACompany = '©江阴慧停车管理有限公司'; const BCompany = '由中兴智能交通股份有限公司提供技术支持'; const appVerson = '1.0.0'; const SetToken = uni.getStorageSync("globalUser").token; +// const SetToken = 'e2c1e43722dd43a5b7e268001b39e6f0'; + + + // ----江阴项目 接口---- // 商户登录 const userLogin = serverUrl + "/business/h5/index/login"; diff --git a/pages/moneyRecharge/moneyRecharge.vue b/pages/moneyRecharge/moneyRecharge.vue index 89fa6b1..36990fa 100644 --- a/pages/moneyRecharge/moneyRecharge.vue +++ b/pages/moneyRecharge/moneyRecharge.vue @@ -204,15 +204,17 @@ method: 'POST', data: that.$common.requestSign(data) }).then(res => { - - console.log(res) - that.MakeWxPay(res) + + + var mydata = res.data; + console.log(mydata); + that.MakeWxPay(mydata) }) }, // 调用微信支付 MakeWxPay(mydata) { - console.log('wxpay') + console.log(mydata) var me = this; uni.requestPayment({ provider: 'wxpay', -- libgit2 0.21.4