From f6eefa5379cce9f8221c702d91e93fa6ee9f300e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=B9=8F?= Date: Thu, 21 Jul 2022 14:47:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=8E=9F=E5=8D=A7=E9=93=BA?= =?UTF-8?q?=E4=BB=B7=E6=A0=BC=E5=8A=A0=E4=B8=80=E5=AE=9A=E6=AF=94=E4=BE=8B?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E4=B8=8B=E5=8D=A7=E7=9A=84=E8=A7=84=E5=88=99?= =?UTF-8?q?=EF=BC=8C=E7=9B=B4=E6=8E=A5=E8=AF=BB=E5=8F=96=E6=90=BA=E7=A8=8B?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=9A=84=E6=9C=80=E9=AB=98=E4=BB=B7=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trainsystem/controllers/innerTrainSearch.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/third_party/trainsystem/controllers/innerTrainSearch.php b/application/third_party/trainsystem/controllers/innerTrainSearch.php index b82643e3..bd05027c 100644 --- a/application/third_party/trainsystem/controllers/innerTrainSearch.php +++ b/application/third_party/trainsystem/controllers/innerTrainSearch.php @@ -612,7 +612,7 @@ class innerTrainSearch extends CI_Controller{ $post_data_train->searchTrainsParam = new stdClass(); $post_data_train->searchTrainsParam->departDate = "2022-07-22"; $post_data_train->searchTrainsParam->fromStationName = "北京"; - $post_data_train->searchTrainsParam->toStationName = "GZQ"; + $post_data_train->searchTrainsParam->toStationName = "深圳"; echo json_encode($post_data_train); @@ -753,10 +753,10 @@ class innerTrainSearch extends CI_Controller{ if(in_array($key, array('A3', 'A4', 'A5', 'A6', '3', '4', '5', '6', 'A', 'F', 'S','YDW','EDW'))){ if (stripos($return_data->result[$i]->TrainNo, "D") !== false || stripos($return_data->result[$i]->TrainNo, "G") !== false) { - $value = $value * 1.2; + //$value = $value * 1.2; //直接读取接口的最高价,无需再自己定义下铺价格。 2022-7-21 zp $return_data->result[$i]->SeatList[$j]->ChildDiscut = 1; }else{ - $value = $value * 1.15; + //$value = $value * 1.15; //直接读取接口的最高价,无需再自己定义下铺价格。 2022-7-21 zp $return_data->result[$i]->SeatList[$j]->ChildDiscut = 0.75; } }else{