back_recharge
parent
628edce335
commit
830d87cfb3
|
@ -578,9 +578,11 @@ public class ArenaLogic {
|
|||
continue;
|
||||
}
|
||||
// 超7天未登录玩家,不再发奖励
|
||||
if (csPlayer.getOffLineTime() == 0 || TimeUtils.now() > (csPlayer.getOffLineTime() + GlobalsDef.REDIS_OVER_TIME_DAY * 7 * 1000L)){
|
||||
long offLineTime = csPlayer.getOffLineTime();
|
||||
if (offLineTime == 0 || TimeUtils.now() > (offLineTime + GlobalsDef.REDIS_OVER_TIME_DAY * 7 * 1000L)){
|
||||
String recordKey = RedisUtil.getInstence().getKey(RedisKey.ARENA_RRECORD, Integer.toString(uid));
|
||||
RedisUtil.getInstence().del(recordKey);
|
||||
LOGGER.error("竞技场发奖,玩家:{} 离线时间超过七天,剔除排行榜并且不再发奖,上次离线时间:{}",uid, offLineTime);
|
||||
continue;
|
||||
}
|
||||
User user = UserManager.getUserNotCache(uid);
|
||||
|
|
Loading…
Reference in New Issue