跨服分组兼容,当分组id<=0时,表示不用跨服
parent
900412365d
commit
dc0eacd113
|
@ -300,8 +300,11 @@ public class GlobleSystemLogic implements IEventHandler {
|
|||
return -1;
|
||||
}
|
||||
Integer group = RedisUtil.getInstence().getMapValue(RedisKey.SERVER_SPLIT_INFO, "", String.valueOf(GameApplication.serverId), Integer.class);
|
||||
crossGroup = group==null?-1:group;
|
||||
return crossGroup;
|
||||
if (group == null || group <= 0){
|
||||
return -1;
|
||||
}
|
||||
crossGroup = group;
|
||||
return group;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue