From ac04599a199fff6f9ca8d93eceadeb36fe9c37db Mon Sep 17 00:00:00 2001 From: root Date: Sun, 27 Oct 2019 19:57:21 +0800 Subject: [PATCH] update --- app/Http/Controllers/Admin/PlanController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/Admin/PlanController.php b/app/Http/Controllers/Admin/PlanController.php index 13b7c287..2e82e7c6 100755 --- a/app/Http/Controllers/Admin/PlanController.php +++ b/app/Http/Controllers/Admin/PlanController.php @@ -46,15 +46,15 @@ class PlanController extends Controller public function drop (Request $request) { if (Order::where('plan_id', $request->input('id'))->first()) { - abort(500, '套餐下存在订单无法删除'); + abort(500, '该订阅下存在订单无法删除'); } if (User::where('plan_id', $request->input('id'))->first()) { - abort(500, '套餐下存在用户无法删除'); + abort(500, '该订阅下存在用户无法删除'); } if ($request->input('id')) { $plan = Plan::find($request->input('id')); if (!$plan) { - abort(500, '套餐ID不存在'); + abort(500, '该订阅ID不存在'); } } return response([