曾超新 5 years ago
parent 451636bb31
commit 6998493817
  1. 5
      frontend/controllers/CarController.php

@ -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();

Loading…
Cancel
Save