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);