曾超新 5 years ago
parent 5ee461f1c1
commit 5f14c354e0
  1. 2
      frontend/controllers/CarController.php

@ -505,6 +505,7 @@ class CarController extends BaseController
$car_info = CarT::findOne(['id'=>$id]); $car_info = CarT::findOne(['id'=>$id]);
if($car_info) { if($car_info) {
/*
$star_time = time(); $star_time = time();
$url = Yii::$app->params['userPanel']['search_car_url']; $url = Yii::$app->params['userPanel']['search_car_url'];
$token = Yii::$app->params['userPanel']['token']; $token = Yii::$app->params['userPanel']['token'];
@ -525,6 +526,7 @@ class CarController extends BaseController
if($res->getStatusCode() == 200) { if($res->getStatusCode() == 200) {
$obj = json_decode($res->getBody()); $obj = json_decode($res->getBody());
} }
*/
$time = time() - $star_time; $time = time() - $star_time;
// var_dump($obj); // var_dump($obj);
// echo $time; // echo $time;

Loading…
Cancel
Save