曾超新 5 years ago
parent a09913f919
commit d59debef5e
  1. 1
      frontend/controllers/CarController.php

@ -735,6 +735,7 @@ class CarController extends BaseController
'form_params' => $params, 'form_params' => $params,
'http_errors' => false, 'http_errors' => false,
]); ]);
echo $res->getBody();
if($res->getStatusCode() == 200) { if($res->getStatusCode() == 200) {
$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 != '') {

Loading…
Cancel
Save