From ecb6e6b1bb2085dcfbae56c825e6d0a5120f805c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=B9=8F?= Date: Fri, 14 Nov 2025 17:02:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=BE=9C=E6=B5=B7=E5=87=BA?= =?UTF-8?q?=E7=A5=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../third_party/trainsystem/controllers/lanhaiticket.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/application/third_party/trainsystem/controllers/lanhaiticket.php b/application/third_party/trainsystem/controllers/lanhaiticket.php index a1c90d7e..9a7e7e9b 100644 --- a/application/third_party/trainsystem/controllers/lanhaiticket.php +++ b/application/third_party/trainsystem/controllers/lanhaiticket.php @@ -130,7 +130,7 @@ class LanHaiTicket extends CI_Controller } $passagersdata[$i] = new stdClass(); - $passagersdata[$i]->passengerName = chk_sp_name($PassagerInfo->BPE_FirstName .' '. $PassagerInfo->BPE_MiddleName .' '. $PassagerInfo->BPE_LastName); + $passagersdata[$i]->passengerName = strtoupper(chk_sp_name($PassagerInfo->BPE_FirstName .' '. $PassagerInfo->BPE_MiddleName .' '. $PassagerInfo->BPE_LastName)); $passagersdata[$i]->passengerType = $PiaoType; //乘客类型,1 成人票,2 儿童票 $passagersdata[$i]->passportType = $PassportTypeseId; //证件类型,身份证 1,护照 2,回乡证 7,台胞证 8,外国人永久居留身份证 9,港澳通行证 10,台湾通行证 22,港澳台居民居住证 23 $passagersdata[$i]->passportNumber = $PassagerInfo->BPE_Passport; //护照号 @@ -143,6 +143,9 @@ class LanHaiTicket extends CI_Controller if ($htCode == "TW" || $htCode == "HK" || $htCode == "MO") { $regionCode = "CHN"; $countryName = "中国"; + }else if($htCode == "UK"){ + $regionCode = "GBR"; + $countryName = "英国"; } else { foreach ($lanhaiCountryData as $cItem) { if ($cItem->code == $htCode) {