diff --git a/application/third_party/tuniu/controllers/tuniu_train.php b/application/third_party/tuniu/controllers/tuniu_train.php index c8f64aeb..5dcdecb0 100644 --- a/application/third_party/tuniu/controllers/tuniu_train.php +++ b/application/third_party/tuniu/controllers/tuniu_train.php @@ -43,6 +43,7 @@ class Tuniu_train extends CI_Controller{ //做超过预售期的处理查询 $isCache = false; $iseven = false; + $cachedata = false; $now_time = time(); $differ = (strtotime($date) - $now_time) / 86400; if($differ > 29){ @@ -64,7 +65,7 @@ class Tuniu_train extends CI_Controller{ $api_start_time = microtime(true); $back_data = post_tuniu($url,$post_data,$method = 'POST'); - $back_data = null; + //$back_data = null; //接口结束时间 $api_end_time = microtime(true);