From 2ecdc27921afeea139a79e5526f0800194c1700e Mon Sep 17 00:00:00 2001 From: root Date: Fri, 3 Jan 2020 19:09:24 +0800 Subject: [PATCH] update --- app/Http/Requests/Admin/PlanSave.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Http/Requests/Admin/PlanSave.php b/app/Http/Requests/Admin/PlanSave.php index 0bef9ed9..c8650e68 100755 --- a/app/Http/Requests/Admin/PlanSave.php +++ b/app/Http/Requests/Admin/PlanSave.php @@ -17,10 +17,10 @@ class PlanSave extends FormRequest 'name' => 'required', 'group_id' => 'required', 'transfer_enable' => 'required', - 'month_price' => 'numeric', - 'quarter_price' => 'numeric', - 'half_year_price' => 'numeric', - 'year_price' => 'numeric' + 'month_price' => 'nullable|numeric', + 'quarter_price' => 'nullable|numeric', + 'half_year_price' => 'nullable|numeric', + 'year_price' => 'nullable|numeric' ]; }