From d3706f9a34660a1bdcaf549db8057f8d8c10f85e Mon Sep 17 00:00:00 2001 From: liuzujun Date: Thu, 30 Dec 2021 11:39:50 +0800 Subject: [PATCH] 测试gm工具开启 --- src/actions/GmAction.lua | 4 ---- src/actions/StoreAction.lua | 1 - 2 files changed, 0 insertions(+), 5 deletions(-) diff --git a/src/actions/GmAction.lua b/src/actions/GmAction.lua index cba6b6a..d4f3a35 100644 --- a/src/actions/GmAction.lua +++ b/src/actions/GmAction.lua @@ -5,10 +5,6 @@ function _M.clientRequest(agent, data) local role = agent.role local action = _M[msg.cmd] local bin = MsgPack.pack({ cmd = "指令失败" }) - if true then - SendPacket(actionCodes.Gm_receiveResponse, bin) - return true - end if not action then SendPacket(actionCodes.Gm_receiveResponse, bin) return true diff --git a/src/actions/StoreAction.lua b/src/actions/StoreAction.lua index 80ac8f1..d07025e 100644 --- a/src/actions/StoreAction.lua +++ b/src/actions/StoreAction.lua @@ -5,7 +5,6 @@ local httpc = require("http.httpc") -- 入口在正式服关闭 -- mock 充值 function _M.rechargeRpc(agent , data) - if true then return end local role = agent.role local msg = MsgPack.unpack(data) local id = msg.id -- libgit2 0.21.2