fix proto

back_recharge
wangyuan 2019-09-18 09:32:18 +08:00
parent 13634f35de
commit 24ee84be59
1 changed files with 0 additions and 2 deletions

View File

@ -299,7 +299,6 @@ public class ProtocolsManager implements ProtocolsAbstract {
iSession.setOfflineType(ErrorCode.reloginCode);
backUpMsgToRedis(iSession);
OnlineUserManager.userOffline(uid);
LOGGER.info("the channel={}",iSession.getCtx().channel());
return 1;
}
return 0;
@ -401,7 +400,6 @@ public class ProtocolsManager implements ProtocolsAbstract {
}
String key = RedisUtil.getInstence().getKey(RedisKey.RESPONSE_OFFLINE, Integer.toString(session.getUid()));
LOGGER.info("the uid={},the offlineIndex={},",session.getUid(),session.getIndexToMessage().keySet().iterator().next());
RedisUtil.getInstence().set(key,gson.toJson(session.getIndexToMessage()));
}