From 74592cb3905450b66ad4640deb7801b2dc923863 Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Sun, 17 Nov 2019 12:49:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/controllers/CarController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/controllers/CarController.php b/frontend/controllers/CarController.php index f7e9cb9..25b9de6 100644 --- a/frontend/controllers/CarController.php +++ b/frontend/controllers/CarController.php @@ -636,8 +636,8 @@ class CarController extends BaseController if($params['HolderIdType'] == '身份证') $params['HolderIdType'] = 1; else $params['HolderIdType'] = 9; - $min_chesun = floatval($request->input('min_chesun')); - $max_chesun = floatval($request->input('max_chesun')); + $min_chesun = floatval($request->post('min_chesun')); + $max_chesun = floatval($request->post('max_chesun')); if($params['CheSun'] > 0 && $min_chesun > 0 && $max_chesun > 0 && ($params['CheSun'] < $min_chesun || $params['CheSun'] > $max_chesun)) { return MyLib::error3('车损只能填写:'.$min_chesun.' ~ '.$max_chesun.' 之间的值');