抽奖任务送礼物数量修复
This commit is contained in:
parent
f1b5d72257
commit
fcd78d79b0
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user