diff --git a/app/Services/VipService.php b/app/Services/VipService.php index d5189392..c4bee74a 100644 --- a/app/Services/VipService.php +++ b/app/Services/VipService.php @@ -110,7 +110,7 @@ class VipService $couponItem = array_filter($gift['coupon'], fn($v) => $v['id'] == $item->id); $amount = data_get($couponItem, 'amount', 1); if ($amount > 0) { - $coupon_service->sendCoupon($user, $item); + $coupon_service->sendCoupon($user, $item, $amount); } } catch (BizException $e) { }