Commit ec8caae5ab1b336366d6f8bebee8c912c420892b

Authored by zhouhaihai
1 parent 9a1c54b2

多一点输出

Showing 2 changed files with 3 additions and 3 deletions   Show diff stats
src/actions/GmAction.lua
... ... @@ -516,7 +516,7 @@ end
516 516  
517 517 -- 充值回调
518 518 function _M.ayncPurchase(role, params)
519   - return role:handlePurchase(params)
  519 + return role:handlePurchase(params) or ""
520 520 end
521 521  
522 522  
... ...
src/models/RolePlugin.lua
... ... @@ -1456,8 +1456,8 @@ function RolePlugin.bind(Role)
1456 1456  
1457 1457 local rechargeData = csvdb["shop_rechargeCsv"][orderObject:getProperty("rechargeId")]
1458 1458 if rechargeData.rmb ~= tonumber(params.amount) then
1459   - skynet.error(string.format("fake order: %s, roleId: %d, order: %s",
1460   - params.transactionId, roleId, partnerOrderStr
  1459 + skynet.error(string.format("fake order: %s, roleId: %d, order: %s, rmb %s, get %s",
  1460 + params.transactionId, roleId, partnerOrderStr, rechargeData.rmb, params.amount
1461 1461 ))
1462 1462 return
1463 1463 end
... ...