添加日志

back_recharge
jiahuiwen 2021-10-29 16:02:35 +08:00
parent de7c59dff1
commit 40ae6b6a1b
1 changed files with 2 additions and 0 deletions

View File

@ -404,11 +404,13 @@ public class ActivityLogic implements IEventHandler{
// 1635696000000L = 2021-11-01 00:00:00
if (now < 1635696000000L) {
if(sGlobalActivity.getId() == 40000 && !TimeUtils.isSameWeek(now, user.getUserMissionManager().getJadeDynastyMissionType().getWeekRefresh())) {
LOGGER.info("checkActivityOfUser uid={} fix JADE_DYNASTY_WEEK_REFRESH", user.getId());
user.getUserMissionManager().onGameEvent(user, GameEvent.JADE_DYNASTY_WEEK_REFRESH, sGlobalActivity.getId());
}
if (sGlobalActivity.getShopId() != null && sGlobalActivity.getShopId().length > 0) {
for (int shopId : sGlobalActivity.getShopId()) {
if (!user.getStoreManager().getStoreInfoMap().containsKey(shopId)) {
LOGGER.info("checkActivityOfUser uid={} fix sGlobalActivity shop", user.getId());
Poster.getPoster().dispatchEvent(new ActivityStateChangeEvent(user.getId(), sGlobalActivity.getId(), 1));
break;
}