抽奖任务送礼物数量修复

This commit is contained in:
tianfeng 2025-10-24 18:43:12 +08:00
parent f1b5d72257
commit fcd78d79b0

View File

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