Admin 会员卡-优惠券-可配置数量
parent
7abea021bd
commit
cececff1e4
|
|
@ -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) {
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue