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