mirror of
https://github.com/v2board/v2board.git
synced 2025-06-26 20:29:59 +08:00
update
This commit is contained in:
@ -15,7 +15,7 @@ class PlanController extends Controller
|
||||
}
|
||||
$plan = Plan::find($request->input('plan_id'));
|
||||
if (!$plan) {
|
||||
abort(500, '订阅不存在');
|
||||
abort(500, '该订阅不存在');
|
||||
}
|
||||
$user = User::find($request->session()->get('id'));
|
||||
if (!($plan->show || $user->plan_id == $plan->id)) {
|
||||
|
Reference in New Issue
Block a user