From e5fa29fcb369bf8b4c85c6aeefd21ebcd0675d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E8=AF=9A=E8=AF=9A?= Date: Sun, 13 May 2018 11:18:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=88=B0=E8=81=9A=E5=90=88?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=EF=BC=8C=E4=B8=8D=E7=94=A8=E4=BB=A3=E7=90=86?= =?UTF-8?q?=EF=BC=8C=E8=81=9A=E5=90=88=E6=8E=A5=E5=8F=A3=E9=80=9F=E5=BA=A6?= =?UTF-8?q?=E5=B7=B2=E7=BB=8F=E5=BE=88=E5=BF=AB=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/train/controllers/search.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/third_party/train/controllers/search.php b/application/third_party/train/controllers/search.php index a14a54a0..2c4485d5 100644 --- a/application/third_party/train/controllers/search.php +++ b/application/third_party/train/controllers/search.php @@ -54,6 +54,7 @@ class search extends CI_Controller{ $this->seveth = 'yes'; } $url = 'http://139.129.246.118:12309/trainTickets/ticketsAvailable?key='.JUHE_TRAIN_API_KEY.'&train_date='.$train_date.'&from_station='.$fromStation.'&to_station='.$toStation; + $url = JUHE_TRAIN_CX_API.'?key='.JUHE_TRAIN_API_KEY.'&train_date='.$train_date.'&from_station='.$fromStation.'&to_station='.$toStation; $this->url = $url; $train_info = $this->get_http($url); //如果为网络错误就再执行一次