mirror of
https://github.com/v2board/v2board.git
synced 2025-01-30 18:19:12 +08:00
update
This commit is contained in:
parent
52ea3057ea
commit
c187f07bed
@ -18,10 +18,6 @@ class PlanController extends Controller
|
||||
abort(500, '该订阅不存在');
|
||||
}
|
||||
$user = User::find($request->session()->get('id'));
|
||||
if (!($plan->show || $user->plan_id == $plan->id)) {
|
||||
abort(500, '该订阅已售罄');
|
||||
}
|
||||
|
||||
return response([
|
||||
'data' => $plan
|
||||
]);
|
||||
|
Loading…
Reference in New Issue
Block a user