This commit is contained in:
xiekaidong 2023-09-21 16:38:00 +08:00
parent 03237a895d
commit 368286f11f

View File

@ -774,7 +774,8 @@ function NetManager:onReceive(msgId, data)
end end
end end
BIReport:postPbDecodefailed(sendMsgName, reqDataStr) BIReport:postPbDecodefailed(sendMsgName, reqDataStr)
elseif pbData.err_code ~= GConst.ERROR_STR.SUCCESS then -- elseif pbData.err_code ~= GConst.ERROR_STR.SUCCESS then
elseif pbData.status ~= 0 then -- 有一些协议没有err_code所以改为判定自定义的status
local reqDataStr = GConst.EMPTY_STRING local reqDataStr = GConst.EMPTY_STRING
if sendInfo then if sendInfo then
if sendInfo.msgName == ProtoMsgType.FromMsgEnum.PipedReq then if sendInfo.msgName == ProtoMsgType.FromMsgEnum.PipedReq then