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.' 之间的值');