diff --git a/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/game/party3rd/GameHkysRestController.java b/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/game/party3rd/GameHkysRestController.java index 8082c038..db2d69f0 100644 --- a/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/game/party3rd/GameHkysRestController.java +++ b/rc-service/rc-service-other/other-adapter/src/main/java/com/red/circle/other/adapter/app/game/party3rd/GameHkysRestController.java @@ -123,7 +123,7 @@ public class GameHkysRestController { if (cmd.getType() != null && cmd.getType() == 2) { gameEventService.onWinEvent(userId, cmd.getCoin(), GameOriginEnum.LINGXIAN.name(), gameListConfig); gameActivityService.handleGameSpendTask(userId, cmd.getCoin()); - gameActivityService.incKingGameDaily(userId, cmd.getCoin(), cmd.getGameId()); +// gameActivityService.incKingGameDaily(userId, cmd.getCoin(), cmd.getGameId()); } else { gameEventService.onBetEvent(userId, cmd.getCoin(), gameListConfig); } diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/GameBaishunServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/GameBaishunServiceImpl.java index 694bd51f..ba51ea27 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/GameBaishunServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/GameBaishunServiceImpl.java @@ -193,7 +193,7 @@ public class GameBaishunServiceImpl implements GameBaishunService { gameActivityService.incConfiguredRankingActivity(userId, request.getCurrencyDiff(), request.getGameId(), RankingActivityType.FOOT_BALL); gameEventService.onWinEvent(userId, request.getCurrencyDiff(), GameOriginEnum.BAISHUN.name(), gameListConfig); gameActivityService.handleGameSpendTask(userId, Math.abs(request.getCurrencyDiff())); - gameActivityService.incKingGameDaily(userId, request.getCurrencyDiff(), request.getGameId()); +// gameActivityService.incKingGameDaily(userId, request.getCurrencyDiff(), request.getGameId()); } else { gameEventService.onBetEvent(userId, request.getCurrencyDiff(), gameListConfig); } diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/HkysServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/HkysServiceImpl.java index ce88b204..ab4fd27f 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/HkysServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/HkysServiceImpl.java @@ -120,7 +120,7 @@ public class HkysServiceImpl implements GameHkysService { if (Integer.valueOf(2).equals(param.getType()) && param.getCoin() > 0) { gameEventService.onWinEvent(userId, param.getCoin(), GameOriginEnum.LINGXIAN.name(), gameConfig); gameActivityService.handleGameSpendTask(userId, param.getCoin()); - gameActivityService.incKingGameDaily(userId, param.getCoin(), param.getGameId()); +// gameActivityService.incKingGameDaily(userId, param.getCoin(), param.getGameId()); } else { gameEventService.onBetEvent(userId, param.getCoin(), gameConfig); } diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/HotGameServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/HotGameServiceImpl.java index 1249aece..20239f64 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/HotGameServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/HotGameServiceImpl.java @@ -166,8 +166,7 @@ public class HotGameServiceImpl implements HotGameService { if (Integer.valueOf(2).equals(param.getType()) && param.getCoin() > 0) { gameEventService.onWinEvent(userId, param.getCoin(), GameOriginEnum.HOTGAME.name(), gameConfig); gameActivityService.handleGameSpendTask(userId, param.getCoin()); - gameActivityService.incKingGameDaily(userId, param.getCoin(), param.getGameId()); - incFruitPartyRankingActivity(param); +// gameActivityService.incKingGameDaily(userId, param.getCoin(), param.getGameId()); } else { gameEventService.onBetEvent(userId, param.getCoin(), gameConfig); } @@ -192,37 +191,6 @@ public class HotGameServiceImpl implements HotGameService { .setErrorCode(HotGameErrorEnum.SERVER_ERROR.getErrorCode()); } - // ------------------------------------------------------------------ // - // HotGame 特有:FruitParty 临时排行榜 - // ------------------------------------------------------------------ // - - private void incFruitPartyRankingActivity(HotGameUserCoinUpdate param) { - if (ZonedDateTimeAsiaRiyadhUtils.now().isAfter(getFruitPartyFinishTime())) { - return; - } - if (rankGameId == null || !rankGameId.equals(param.getGameId())) { - return; - } - RankingDataUpdateCmd cmd = new RankingDataUpdateCmd(); - cmd.setUserId(DataTypeUtils.toLong(param.getUid())); - cmd.setUserSex(1); - cmd.setActivityType(RankingActivityType.FRUIT_PARTY.getCode()); - cmd.setCycleType(RankingCycleType.WEEKLY.getCode()); - cmd.setCycleKey("20260129"); - cmd.setDimension(RankingDimension.GAME_WIN.getCode()); - cmd.setIncrementQuantity(param.getCoin()); - cmd.setBizNo(param.getGameId()); - cmd.setReqSysOrigin(ReqSysOrigin.of(SysOriginPlatformEnum.ATYOU.name())); - rankingActivityService.accumulateRankingData(cmd); - } - - private ZonedDateTime getFruitPartyFinishTime() { - return ZonedDateTime.of( - LocalDateTime.parse(endTime, DateTimeFormatter.ISO_LOCAL_DATE_TIME), - ZonedId.ASIA_RIYADH.getZonedId() - ); - } - // ------------------------------------------------------------------ // // HotGame 特有:VIP 等级 // ------------------------------------------------------------------ // diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java index bf5b2aa9..8b5eb356 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java @@ -185,7 +185,7 @@ public class YomiGameServiceImpl implements YomiGameService { if (!isBet(cmd)) { gameEventService.onWinEvent(userId, cmd.getGold(), GameOriginEnum.YOMI.name(), gameConfig); gameActivityService.handleGameSpendTask(userId, cmd.getGold()); - gameActivityService.incKingGameDaily(userId, cmd.getGold(), gameIdStr); +// gameActivityService.incKingGameDaily(userId, cmd.getGold(), gameIdStr); } else { gameEventService.onBetEvent(userId, cmd.getGold(), gameConfig); } diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/common/GameEventService.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/common/GameEventService.java index 1b25335d..fecddd37 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/common/GameEventService.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/common/GameEventService.java @@ -129,7 +129,7 @@ public class GameEventService { return; } sendBroadcast(userId, gold, gameConfig); - incGameRankingActivity(userId, gold, gameConfig.getGameId(), gameConfig.getSysOrigin()); +// incGameRankingActivity(userId, gold, gameConfig.getGameId(), gameConfig.getSysOrigin()); } private void sendBroadcast(Long userId, Long gold, GameListConfig gameConfig) {