mirror of
https://github.com/v2board/v2board.git
synced 2025-01-26 16:09:09 +08:00
update
This commit is contained in:
parent
c61f64d623
commit
2346b1a2dc
@ -11,7 +11,6 @@ class PlanController extends Controller
|
|||||||
public function fetch (Request $request) {
|
public function fetch (Request $request) {
|
||||||
if ($request->input('id')) {
|
if ($request->input('id')) {
|
||||||
$plan = Plan::where('id', $request->input('id'))
|
$plan = Plan::where('id', $request->input('id'))
|
||||||
->where('show', 1)
|
|
||||||
->first();
|
->first();
|
||||||
if (!$plan) {
|
if (!$plan) {
|
||||||
abort(500, '该订阅不存在');
|
abort(500, '该订阅不存在');
|
||||||
|
Loading…
Reference in New Issue
Block a user