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

back_recharge
duhui 2022-02-21 17:37:00 +08:00
parent 803280eaf0
commit 9836cab7a7
1 changed files with 2 additions and 1 deletions

View File

@ -279,7 +279,8 @@ public class GlobleSystemLogic implements IEventHandler {
}
split.put(entry.getKey(),entry.getValue());
}
// 删除上期分组数据,并赋值新分组数据
redisUtil.remove(redisUtil.getKey(RedisKey.SERVER_SPLIT_INFO,""));
redisUtil.putMapEntrys(RedisKey.SERVER_SPLIT_INFO,"",split);
//发分组邮件
split.keySet().forEach(server->redisUtil.putMapEntry(RedisKey.SERVER_SPLIT_MAIL_INFO,"",server,0));