Commit 0ea94afc853d44c121f6b9c39c7f299b75de0f4f
1 parent
b0da1bac
钱包充值
Showing
1 changed file
with
3 additions
and
7 deletions
pages/moneyRecharge/moneyRecharge.vue
@@ -174,11 +174,9 @@ | @@ -174,11 +174,9 @@ | ||
174 | }); | 174 | }); |
175 | }, | 175 | }, |
176 | payClick() { | 176 | payClick() { |
177 | - | ||
178 | let that = this; | 177 | let that = this; |
179 | that.getOpenID() | 178 | that.getOpenID() |
180 | - | ||
181 | - | 179 | + |
182 | }, | 180 | }, |
183 | wxPayOrder(){ | 181 | wxPayOrder(){ |
184 | let that = this; | 182 | let that = this; |
@@ -195,8 +193,8 @@ | @@ -195,8 +193,8 @@ | ||
195 | acctType: '1', | 193 | acctType: '1', |
196 | paySrcType: '204', | 194 | paySrcType: '204', |
197 | payType: '12', | 195 | payType: '12', |
198 | - realPayMoney: payMoney, | ||
199 | - rechargeFee: payMoney, | 196 | + realPayMoney: payMoney.toString(), |
197 | + rechargeFee: payMoney.toString(), | ||
200 | }; | 198 | }; |
201 | console.log(data) | 199 | console.log(data) |
202 | that.$myRequest({ | 200 | that.$myRequest({ |
@@ -204,8 +202,6 @@ | @@ -204,8 +202,6 @@ | ||
204 | method: 'POST', | 202 | method: 'POST', |
205 | data: that.$common.requestSign(data) | 203 | data: that.$common.requestSign(data) |
206 | }).then(res => { | 204 | }).then(res => { |
207 | - | ||
208 | - | ||
209 | var mydata = res.data; | 205 | var mydata = res.data; |
210 | console.log(mydata); | 206 | console.log(mydata); |
211 | that.MakeWxPay(mydata) | 207 | that.MakeWxPay(mydata) |