From bad25be535e5bc3a8bc0870debd525ffb0608e02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=B9=8F?= Date: Thu, 25 Sep 2025 14:38:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=82=E6=9E=97=E7=AB=99=E5=8A=A0=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/application/controllers/information.php b/application/controllers/information.php index 3033b4cd..5209fb8e 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -5120,6 +5120,34 @@ class Information extends CI_Controller { } + if ($meta_ct_page_type == "tourlist") { + //线路类型列表 + $lineTypeList = json_decode(GET_HTTP($apiurl . "/thirdparty/ctmobilefirst/api/getLineTypeList/?webcode=guilin")); + $dataTourList["lineTypeList"] = $lineTypeList; + $tourListData = json_decode(GET_HTTP($apiurl . "/thirdparty/ctmobilefirst/api/getTourList/?webcode=guilin")); + $dataTourList["tourListData"] = $tourListData; + + //替换模板 + $template_page_tourlist = $this->load->view('mobile_first/shanghai-tour-list', $dataTourList, true); //模板内容,统一用上海站模板 + $ic_content = str_replace('', $template_page_tourlist, $ic_content); + + $addonJs .= ''; + } + + if ($meta_ct_page_type == "daytriplist") { + //一日游类型 + $allTypeList = json_decode(GET_HTTP($apiurl . "/thirdparty/ctmobilefirst/api/getPagTypeList/?webcode=guilin")); + $dataDayTripList["allTypeList"] = $allTypeList; + $dayTripListData = json_decode(GET_HTTP($apiurl . "/thirdparty/ctmobilefirst/api/getSearchDaytripList/?webcode=guilin")); + $dataDayTripList["dayTripListData"] = $dayTripListData; + + //替换模板 + $template_page_daytriplist = $this->load->view('mobile_first/shanghai-daytrip-list', $dataDayTripList, true); //模板内容,统一用上海站模板 + $ic_content = str_replace('', $template_page_daytriplist, $ic_content); + + $addonJs .= ''; + } + //表单页 if (in_array($meta_ct_page_type, ["customize", "contactus", "pagewithform", "tourdetail"])) { $productType = $meta_ct_page_type;