From 52ea3057ea7c616227771cd43f1329ef974f26fb Mon Sep 17 00:00:00 2001 From: root Date: Sun, 27 Oct 2019 21:00:35 +0800 Subject: [PATCH] update --- app/Http/Controllers/OrderController.php | 2 +- app/Http/Controllers/PlanController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/OrderController.php b/app/Http/Controllers/OrderController.php index 7860a059..d8d45f90 100755 --- a/app/Http/Controllers/OrderController.php +++ b/app/Http/Controllers/OrderController.php @@ -60,7 +60,7 @@ class OrderController extends Controller } if (!$plan->show && !$plan->renew) { - abort(500, '该订阅无法续费'); + abort(500, '该订阅无法续费,请更换其他订阅'); } $order = new Order(); diff --git a/app/Http/Controllers/PlanController.php b/app/Http/Controllers/PlanController.php index c5de699f..18bedaf6 100755 --- a/app/Http/Controllers/PlanController.php +++ b/app/Http/Controllers/PlanController.php @@ -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)) {