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