换回携程接口

master
赵鹏 12 months ago
parent 5eb7be4755
commit 86ac718797

@ -479,13 +479,13 @@ class innerTrainSearch extends CI_Controller{
$ResponseData = json_decode($ResponseJson); $ResponseData = json_decode($ResponseJson);
// // 获取 microtime // // 获取 microtime
// $microtime = microtime(true); // $microtime = microtime(true);
// // 将时间戳转换为毫秒 // // 将时间戳转换为毫秒
// $timestampInMilliseconds = round($microtime * 1000); // $timestampInMilliseconds = round($microtime * 1000);
// echo $timestampInMilliseconds; // echo $timestampInMilliseconds;
// echo($ResponseJson); // echo($ResponseJson);
// die(); // die();
@ -897,8 +897,8 @@ class innerTrainSearch extends CI_Controller{
exit('传参错误!'); exit('传参错误!');
} }
//$back_json = $this->NewCtripApi($train_date,$fromStation,$toStation,true); $back_json = $this->NewCtripApi($train_date,$fromStation,$toStation,true);
$back_json = $this->LanHaiApi($train_date,$fromStation,$toStation,true); //$back_json = $this->LanHaiApi($train_date,$fromStation,$toStation,true);
$train_info = new stdClass(); $train_info = new stdClass();
$train_info = json_decode($back_json); $train_info = json_decode($back_json);

Loading…
Cancel
Save