Commit 298ade8e2e42fb0a3d86d63b06834d511020d826
1 parent
45507208
屏蔽充值接口
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/actions/StoreAction.lua
... | ... | @@ -20,6 +20,7 @@ end |
20 | 20 | |
21 | 21 | -- 入口在正式服关闭 -- mock 充值 |
22 | 22 | function _M.rechargeRpc(agent , data) |
23 | + if true then return end | |
23 | 24 | local role = agent.role |
24 | 25 | local msg = MsgPack.unpack(data) |
25 | 26 | local id = msg.id |
... | ... | @@ -31,7 +32,6 @@ function _M.rechargeRpc(agent , data) |
31 | 32 | local partnerOrderId = makeOrder(roleId, id) |
32 | 33 | SendPacket(actionCodes.Store_rechargeRpc, MsgPack.pack({ order = partnerOrderId })) |
33 | 34 | |
34 | - | |
35 | 35 | -- 测试的 直接发奖励了 |
36 | 36 | skynet.timeout(10, function () |
37 | 37 | role:handlePurchase({ | ... | ... |