|
|
|
@ -758,8 +758,11 @@ class CarController extends BaseController |
|
|
|
|
'form_params' => $params, |
|
|
|
|
'http_errors' => false, |
|
|
|
|
]); |
|
|
|
|
echo $url; |
|
|
|
|
var_dump($params); |
|
|
|
|
echo $res->getBody(); |
|
|
|
|
exit; |
|
|
|
|
if($res->getStatusCode() == 200) { |
|
|
|
|
var_dump($res->getBody()); |
|
|
|
|
$obj = json_decode($res->getBody()); |
|
|
|
|
if($obj->data && $obj->data->UserInfo && $obj->data->UserInfo->CarUsedType != '') { |
|
|
|
|
$car_user_info = CarUseT::find()->where(['name'=>$obj->data->UserInfo->CarUsedType])->one(); |
|
|
|
|