发送短信BUG

dev
曾超新 5 years ago
parent 71712e488c
commit 5b71471ce5
  1. 4
      frontend/controllers/CarController.php

@ -4524,9 +4524,9 @@ class CarController extends BaseController
$request = Yii::$app->request; $request = Yii::$app->request;
$MessageContent = $request->post('msg'); $MessageContent = $request->post('msg');
$UserNumber = $request->post('tel'); $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'] = '保险公司不能为空'; $result['msg'] = '保险公司不能为空';
return $result; return $result;
} }

Loading…
Cancel
Save