back_recharge
jiahuiwen 2019-05-31 18:24:22 +08:00
commit f48f51cc61
1 changed files with 7 additions and 4 deletions

View File

@ -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);