wangyuan 2019-11-02 16:52:44 +08:00
parent c304989a48
commit 4c12a4c959
1 changed files with 4 additions and 2 deletions

View File

@ -158,7 +158,7 @@ public class ProtocolsManager implements ProtocolsAbstract {
dealHeartBeat(session);
return;
}
LOGGER.info("request{} unknow commond{} : " ,packetNetData.getUserId(),packetNetData.getMsgId());
if (packetNetData.getMsgId()== MessageTypeProto.MessageType.LOGIN_REQUEST_VALUE ||
packetNetData.getMsgId()== MessageTypeProto.MessageType.RECONNECT_REQUEST_VALUE){
@ -168,7 +168,9 @@ public class ProtocolsManager implements ProtocolsAbstract {
return;
}
//处理多设备重登
dealRepeatLogin(session.getUid());
if(dealRepeatLogin(session.getUid()) == 1){
return;
}
//刷新token
//refreshToken(session);
//踢下线