From 3fddbbc5550a486b3411836b5003905712607693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=B9=8F?= Date: Tue, 16 Sep 2025 15:33:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=81=AB=E8=BD=A6=E6=8E=A5=E5=8F=A3=E5=95=86?= =?UTF-8?q?=E5=8A=A1=E5=BA=A7=E5=84=BF=E7=AB=A5=E7=A5=A88=E6=8A=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trainsystem/controllers/innerTrainSearch.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/application/third_party/trainsystem/controllers/innerTrainSearch.php b/application/third_party/trainsystem/controllers/innerTrainSearch.php index 395474a8..654f4c92 100644 --- a/application/third_party/trainsystem/controllers/innerTrainSearch.php +++ b/application/third_party/trainsystem/controllers/innerTrainSearch.php @@ -1200,6 +1200,13 @@ class innerTrainSearch extends CI_Controller{ //$value = $value * 1.15; //直接读取接口的最高价,无需再自己定义下铺价格。 2022-7-21 zp $return_data->result[$i]->SeatList[$j]->ChildDiscut = 0.75; } + }else if(in_array($key, array('9', 'P','A9'))){ //2025-9-16 zp 动车商务座儿童0.8 + if (stripos($return_data->result[$i]->TrainNo, "D") !== false || stripos($return_data->result[$i]->TrainNo, "G") !== false) { + $return_data->result[$i]->SeatList[$j]->ChildDiscut = 0.8; + }else{ + $return_data->result[$i]->SeatList[$j]->ChildDiscut = 0.7; + } + }else{ $return_data->result[$i]->SeatList[$j]->ChildDiscut = 0.5; }