Commit d3706f9a34660a1bdcaf549db8057f8d8c10f85e

Authored by liuzujun
1 parent d82e0b8e

测试gm工具开启

Showing 2 changed files with 0 additions and 5 deletions   Show diff stats
src/actions/GmAction.lua
... ... @@ -5,10 +5,6 @@ function _M.clientRequest(agent, data)
5 5 local role = agent.role
6 6 local action = _M[msg.cmd]
7 7 local bin = MsgPack.pack({ cmd = "指令失败" })
8   - if true then
9   - SendPacket(actionCodes.Gm_receiveResponse, bin)
10   - return true
11   - end
12 8 if not action then
13 9 SendPacket(actionCodes.Gm_receiveResponse, bin)
14 10 return true
... ...
src/actions/StoreAction.lua
... ... @@ -5,7 +5,6 @@ local httpc = require("http.httpc")
5 5  
6 6 -- 入口在正式服关闭 -- mock 充值
7 7 function _M.rechargeRpc(agent , data)
8   - if true then return end
9 8 local role = agent.role
10 9 local msg = MsgPack.unpack(data)
11 10 local id = msg.id
... ...