From cececff1e4280e098ffd646df1a9244eabb57b06 Mon Sep 17 00:00:00 2001 From: panliang <1163816051@qq.com> Date: Mon, 11 Jul 2022 14:19:38 +0800 Subject: [PATCH] =?UTF-8?q?Admin=20=E4=BC=9A=E5=91=98=E5=8D=A1-=E4=BC=98?= =?UTF-8?q?=E6=83=A0=E5=88=B8-=E5=8F=AF=E9=85=8D=E7=BD=AE=E6=95=B0?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/VipService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { }