From dbd943e1f412f3ef1ddee955ea024d576ae1ebff Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Tue, 10 Feb 2026 16:16:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=8B=E6=9C=88=E6=B4=BB=E5=8A=A8cycleKey?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../other/app/listener/gift/strategy/RankCountStrategy.java | 6 ++++++ 1 file changed, 6 insertions(+) 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());