wangyuan 2019-06-02 17:35:19 +08:00
parent dfa25dc50e
commit e7a38b5243
1 changed files with 7 additions and 4 deletions

View File

@ -52,11 +52,14 @@ public class HandlerLogicThread extends Thread{
LOGGER.info("request uid=>{} , msgId=>{}, not find the baseHandler",userId,msgId); LOGGER.info("request uid=>{} , msgId=>{}, not find the baseHandler",userId,msgId);
return; return;
} }
if(msgId != MessageTypeProto.MessageType.LOGIN_REQUEST_VALUE){
boolean b = checkFunctionIsOpen(msgId, session); boolean b = checkFunctionIsOpen(msgId, session);
if(!b){ if(!b){
MessageUtil.sendErrorResponse(session,0,msgId+1,"funciton not"); MessageUtil.sendErrorResponse(session,0,msgId+1,"funciton not");
return; return;
} }
}
LOGGER.info("doWork->uid={},mType={};start", userId, MessageTypeProto.MessageType.valueOf(msgId)); LOGGER.info("doWork->uid={},mType={};start", userId, MessageTypeProto.MessageType.valueOf(msgId));
MissionEventDistributor.requestStart(); MissionEventDistributor.requestStart();