update: remove coupon log

This commit is contained in:
tokumeikoi 2020-11-28 23:04:56 +08:00
parent f81ecbea5d
commit f9e55a3905

View File

@ -28,7 +28,6 @@ class CouponController extends Controller
}
if ($coupon->limit_plan_ids) {
$limitPlanIds = json_decode($coupon->limit_plan_ids);
info($limitPlanIds);
if (!in_array($request->input('plan_id'), $limitPlanIds)) {
abort(500, '这个计划无法使用该优惠码');
}