From eb94a8b8bb7b351063b2681550bc78370fc28f5c Mon Sep 17 00:00:00 2001 From: cyc Date: Tue, 4 Sep 2018 16:30:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=87=BD=E6=95=B0=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/train/controllers/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/third_party/train/controllers/search.php b/application/third_party/train/controllers/search.php index 0320d5ed..b25747ea 100644 --- a/application/third_party/train/controllers/search.php +++ b/application/third_party/train/controllers/search.php @@ -361,7 +361,7 @@ class search extends CI_Controller{ $all_stations = $this->BIZ_intel_train_model->get_allstations(); $i = 0; foreach($all_stations as $item){ - $rule_arr = $this->BIZ_intel_train_model->ch_train_rules($item->station_id); + $rule_arr = $this->BIZ_intel_train_model->get_train_rules($item->station_id); if(!empty($rule_arr)){ $return_json['TrainList'][$i]['FromStation'] = $item->s_ename; $return_json['TrainList'][$i]['FromCountry'] = $item->s_country;