dev
曾超新 5 years ago
parent 66a421a6ac
commit 74592cb390
  1. 4
      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.' 之间的值');

Loading…
Cancel
Save