This commit is contained in:
root
2019-10-25 15:12:28 +08:00
parent 4de3f9dee4
commit aabd80ee9e
3 changed files with 16 additions and 10 deletions

View File

@ -21,7 +21,7 @@ class PlanController extends Controller
if ($request->input('id')) {
$plan = Plan::find($request->input('id'));
if (!$plan) {
abort(500, '套餐ID不存在');
abort(500, '套餐不存在');
}
} else {
$plan = new Plan();