Commit 297137b219642e64a90800996b6d386196cf1832
1 parent
b3cb9800
Exists in
master
and in
3 other branches
统一单位 分
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
wxsdk/wx/WxPay.ts
| ... | ... | @@ -22,7 +22,7 @@ export default class WxPay { |
| 22 | 22 | platform, |
| 23 | 23 | offerId: OfferId, |
| 24 | 24 | currencyType: CurrencyType, |
| 25 | - buyQuantity: params.money * 10, | |
| 25 | + buyQuantity: params.money, | |
| 26 | 26 | zoneId: ZoneId |
| 27 | 27 | }; |
| 28 | 28 | console.log(pms); |
| ... | ... | @@ -49,7 +49,7 @@ export default class WxPay { |
| 49 | 49 | orderid: data.orderid, |
| 50 | 50 | payid: data.payid, goodid: data.goodid, |
| 51 | 51 | type: 1, |
| 52 | - money: data.money * 100, | |
| 52 | + money: data.money, | |
| 53 | 53 | platform: data.platform |
| 54 | 54 | }; |
| 55 | 55 | SDKApi.pay(params) | ... | ... |