Commit d81f1a3dc9b9936b266b2bca29f7ea750b145677
1 parent
7d5e688f
ios支付修改
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
src/actions/StoreAction.lua
src/models/RolePlugin.lua
... | ... | @@ -2429,7 +2429,7 @@ function RolePlugin.bind(Role) |
2429 | 2429 | end |
2430 | 2430 | local rechargeId = back |
2431 | 2431 | local rechargeData = csvdb["shop_rechargeCsv"][rechargeId] |
2432 | - if params.amount == 0 then | |
2432 | + if tonumber(params.amount) == 0 then | |
2433 | 2433 | if params.product_id ~= rechargeData.iap_product_id then |
2434 | 2434 | skynet.error(string.format("[recharge] fake order: %s, roleId: %d, order: %s, rmb %s, get %s", |
2435 | 2435 | params.transactionId, roleId, partnerOrderStr, rechargeData.iap_product_id, params.product_id | ... | ... |