From 63fdde7f74c0dd12b4a7a23994042e7839bcdeb0 Mon Sep 17 00:00:00 2001 From: cyc Date: Wed, 17 Oct 2018 16:35:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/tuniu/controllers/tuniu_train.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);