|
|
@ -619,6 +619,12 @@ class CarController extends BaseController |
|
|
|
'VehicleYear' => $request->post('vehicle_year'), |
|
|
|
'VehicleYear' => $request->post('vehicle_year'), |
|
|
|
'AutoMoldCodeSource' => 3, |
|
|
|
'AutoMoldCodeSource' => 3, |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
if($params['QuoteGroup'] == 0) { |
|
|
|
|
|
|
|
return MyLib::error3('请选择保险公司'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if($params['CarUsedType'] == 0) { |
|
|
|
|
|
|
|
return MyLib::error3('请选择车辆使用性质'); |
|
|
|
|
|
|
|
} |
|
|
|
if($params['OwnerIdCardType'] == '身份证') $params['OwnerIdCardType'] = 1; |
|
|
|
if($params['OwnerIdCardType'] == '身份证') $params['OwnerIdCardType'] = 1; |
|
|
|
else $params['OwnerIdCardType'] = 9; |
|
|
|
else $params['OwnerIdCardType'] = 9; |
|
|
|
if($params['InsuredIdType'] == '身份证') $params['InsuredIdType'] = 1; |
|
|
|
if($params['InsuredIdType'] == '身份证') $params['InsuredIdType'] = 1; |
|
|
|