6
0
Fork 0

Admin 会员卡-优惠券-可配置数量

base
panliang 2022-07-11 14:19:38 +08:00
parent 7abea021bd
commit cececff1e4
1 changed files with 1 additions and 1 deletions

View File

@ -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) {
}