跨服分组兼容,当分组id<=0时,表示不用跨服

back_recharge
duhui 2022-02-21 17:12:37 +08:00
parent 900412365d
commit dc0eacd113
1 changed files with 5 additions and 2 deletions

View File

@ -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;
}
/**