diff --git a/frontend/controllers/CarController.php b/frontend/controllers/CarController.php index 46aec7b..c8f09c7 100644 --- a/frontend/controllers/CarController.php +++ b/frontend/controllers/CarController.php @@ -4524,9 +4524,9 @@ class CarController extends BaseController $request = Yii::$app->request; $MessageContent = $request->post('msg'); $UserNumber = $request->post('tel'); - $company2_id = $request->post('company2_id'); + $company_id = $request->post('company_id'); - if($company2_id == 0){ + if($company_id == 0){ $result['msg'] = '保险公司不能为空'; return $result; }