reconnect
parent
4872f629d2
commit
bdc84eb2fc
|
@ -403,6 +403,7 @@ public class Scene implements Runnable{
|
|||
}
|
||||
}
|
||||
SceneManager.clearScene(roomId);
|
||||
RedisUtil.getInstence().del( "MATCH_ROOM_KEY:" + roomId);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -158,6 +158,7 @@ public class RedisKey {
|
|||
|
||||
//掉线缓存indication
|
||||
public static final String INDICATION_OFFLINE = "INDICATION_OFFLINE";
|
||||
public static final String INDICATION_OFFLINE_INDEX = "INDICATION_OFFLINE_INDEX";
|
||||
public static final String INDICATION_OFFLINE_BLOODY = "INDICATION_OFFLINE_BLOODY";
|
||||
|
||||
public static final String RESPONSE_OFFLINE = "RESPONSE_OFFLINE";
|
||||
|
|
|
@ -228,7 +228,8 @@ public class FriendLogic {
|
|||
continue;
|
||||
}
|
||||
if (friends1.size() >= maxFriends){
|
||||
continue;
|
||||
MessageUtil.sendErrorResponse(iSession,Global.SHOW_TIPS_ERROR,msgId,"对方好友已达上限");
|
||||
return;
|
||||
}
|
||||
if (applyFriends.size()>= maxApplyFriends){
|
||||
applyFriends.remove(0);
|
||||
|
|
|
@ -129,7 +129,7 @@ public class StoreLogic {
|
|||
while(it.hasNext()){
|
||||
StoreInfo storeInfo = it.next().getValue();
|
||||
SStoreTypeConfig sStoreTypeConfig = SStoreTypeConfig.getsStoreTypeConfigMap().get(storeInfo.getId());
|
||||
if (sStoreTypeConfig.getStoreOpenRule() ==2){
|
||||
if (sStoreTypeConfig.getStoreOpenRule() ==2 || sStoreTypeConfig.getStoreOpenRule() ==5){
|
||||
if (nowTime > storeInfo.getEndTime()){
|
||||
removeStoreIds.add(storeInfo.getId());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue