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',