From 202a21c17a0f6a01947278a7185c65256b4f038d Mon Sep 17 00:00:00 2001 From: root Date: Wed, 1 Jan 2020 16:20:44 +0800 Subject: [PATCH] update --- app/Http/Controllers/CoponController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/CoponController.php b/app/Http/Controllers/CoponController.php index b2c5a0b3..ac3a757c 100644 --- a/app/Http/Controllers/CoponController.php +++ b/app/Http/Controllers/CoponController.php @@ -10,7 +10,7 @@ class CouponController extends Controller { public function check (Request $request) { if (empty($request->input('code'))) { - abort(500, '参数错误'); + abort(500, '优惠券码不能为空'); } $coupon = Coupon::where('code', $request->input('code'))->first(); if (!$coupon) {