From fcd78d79b094cf5bc9ed4c9dc65876d281d35bad Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Fri, 24 Oct 2025 18:43:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=BD=E5=A5=96=E4=BB=BB=E5=8A=A1=E9=80=81?= =?UTF-8?q?=E7=A4=BC=E7=89=A9=E6=95=B0=E9=87=8F=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../other/app/listener/gift/strategy/GiftCountStrategy.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/GiftCountStrategy.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/GiftCountStrategy.java index 55cf0b72..e6053e1e 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/GiftCountStrategy.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/listener/gift/strategy/GiftCountStrategy.java @@ -743,7 +743,8 @@ public class GiftCountStrategy implements GiftStrategy { private void handleSpinsGiftTask(GiftGiveRunningWater runningWater) { try { Long userId = runningWater.getUserId(); - Integer quantity = runningWater.getGiftValue().getQuantity(); + GiftValue giftValue = runningWater.getGiftValue(); + int quantity = giftValue.getQuantity() * giftValue.getUserSize(); // 增加用户每日送礼物数量 int giftCount = incrementDailyGiftCount(userId, quantity);