From f354c1fac571916dd51b9b6c48000ae815b41bcc Mon Sep 17 00:00:00 2001 From: cyc Date: Thu, 15 Aug 2019 10:19:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=81=AB=E8=BD=A6=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/train/controllers/search.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/third_party/train/controllers/search.php b/application/third_party/train/controllers/search.php index fb2235ca..c4dca094 100644 --- a/application/third_party/train/controllers/search.php +++ b/application/third_party/train/controllers/search.php @@ -365,6 +365,10 @@ class search extends CI_Controller{ foreach($all_stations as $item){ $rule_arr = $this->BIZ_intel_train_model->get_train_rules($item->station_id); if(!empty($rule_arr)){ + if($item->s_ename == 'Beijing West'){ + $item->s_ename == 'Beijing'; + } + $return_json['TrainList'][$i]['FromStation'] = $item->s_ename; $return_json['TrainList'][$i]['FromCountry'] = $item->s_country; $return_json['TrainList'][$i]['ToStations'] = array();