This commit is contained in:
root 2020-01-03 23:00:31 +08:00
parent c61f64d623
commit 2346b1a2dc

View File

@ -11,7 +11,6 @@ class PlanController extends Controller
public function fetch (Request $request) {
if ($request->input('id')) {
$plan = Plan::where('id', $request->input('id'))
->where('show', 1)
->first();
if (!$plan) {
abort(500, '该订阅不存在');