fix
parent
dfa25dc50e
commit
e7a38b5243
|
@ -52,12 +52,15 @@ public class HandlerLogicThread extends Thread{
|
|||
LOGGER.info("request uid=>{} , msgId=>{}, not find the baseHandler",userId,msgId);
|
||||
return;
|
||||
}
|
||||
boolean b = checkFunctionIsOpen(msgId, session);
|
||||
if(!b){
|
||||
MessageUtil.sendErrorResponse(session,0,msgId+1,"funciton not");
|
||||
return;
|
||||
if(msgId != MessageTypeProto.MessageType.LOGIN_REQUEST_VALUE){
|
||||
boolean b = checkFunctionIsOpen(msgId, session);
|
||||
if(!b){
|
||||
MessageUtil.sendErrorResponse(session,0,msgId+1,"funciton not");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
LOGGER.info("doWork->uid={},mType={};start", userId, MessageTypeProto.MessageType.valueOf(msgId));
|
||||
MissionEventDistributor.requestStart();
|
||||
baseHandler.execute(session, packetNetData);
|
||||
|
|
Loading…
Reference in New Issue