diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/RankCountStrategy.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/RankCountStrategy.java index 0684c4e9..ce575c20 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/RankCountStrategy.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/RankCountStrategy.java @@ -444,6 +444,12 @@ public class RankCountStrategy implements GiftStrategy { RankingActivityType activityType = RankingActivityType.valueOf(activity.getActivityType()); Integer cycleType = RankingCycleType.WEEKLY.getCode(); + //特殊活动 + if (RankingActivityType.RAMADAN == activityType) { + cycleKey = "2026-02-17"; + cycleType = RankingCycleType.MONTHLY.getCode(); + } + getDataUpdateCmd(runningWater, cycleKey, actualAmount, activityType, cycleType); } catch (IllegalArgumentException e) { log.warn("未识别的活动类型: {}, activityId={}", activity.getActivityType(), activity.getId());