mirror of
https://github.com/v2board/v2board.git
synced 2024-11-13 11:09:11 +08:00
update: remove coupon log
This commit is contained in:
parent
f81ecbea5d
commit
f9e55a3905
@ -28,7 +28,6 @@ class CouponController extends Controller
|
|||||||
}
|
}
|
||||||
if ($coupon->limit_plan_ids) {
|
if ($coupon->limit_plan_ids) {
|
||||||
$limitPlanIds = json_decode($coupon->limit_plan_ids);
|
$limitPlanIds = json_decode($coupon->limit_plan_ids);
|
||||||
info($limitPlanIds);
|
|
||||||
if (!in_array($request->input('plan_id'), $limitPlanIds)) {
|
if (!in_array($request->input('plan_id'), $limitPlanIds)) {
|
||||||
abort(500, '这个计划无法使用该优惠码');
|
abort(500, '这个计划无法使用该优惠码');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user