mirror of
https://github.com/v2board/v2board.git
synced 2025-01-31 02:29:14 +08:00
update
This commit is contained in:
parent
ac04599a19
commit
3bba7dfecb
@ -58,6 +58,10 @@ class OrderController extends Controller
|
||||
if (!($plan->show || $user->plan_id == $plan->id)) {
|
||||
abort(500, '该订阅已售罄');
|
||||
}
|
||||
|
||||
if (!($plan->show || !$plan->renew)) {
|
||||
abort(500, '该订阅无法续费');
|
||||
}
|
||||
|
||||
$order = new Order();
|
||||
$order->user_id = $request->session()->get('id');
|
||||
|
Loading…
Reference in New Issue
Block a user