|
@@ -497,7 +497,7 @@ class CouponController extends Curd
|
|
|
$couponNbr[$coupon['coupon_id']] = $count;
|
|
|
}
|
|
|
if ($couponNbr[$coupon['coupon_id']] - $chooseCoupon['nbr'] < 0) {
|
|
|
- Log::error("优惠券发放失败,超出发行数量", $coupon);
|
|
|
+ Log::error("优惠券发放失败,超出发行数量", $params);
|
|
|
throw new BusinessException($coupon['coupon_name'] . "超出发行数量");
|
|
|
}
|
|
|
$couponNbr[$coupon['coupon_id']] = $couponNbr[$coupon['coupon_id']] - $chooseCoupon['nbr'];
|