From 48b55ab95548b115219223662da92bcb1a4f3c0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=B9=8F?= Date: Fri, 9 Aug 2024 17:03:22 +0800 Subject: [PATCH] =?UTF-8?q?//=E8=8B=B1=E5=9B=BD=E4=BC=A0GB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/trainsystem/controllers/addorders.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/third_party/trainsystem/controllers/addorders.php b/application/third_party/trainsystem/controllers/addorders.php index 2247f612..fc4b0356 100644 --- a/application/third_party/trainsystem/controllers/addorders.php +++ b/application/third_party/trainsystem/controllers/addorders.php @@ -832,6 +832,10 @@ class addorders extends CI_Controller{ $regionCode = $PassagerInfo->BPE_Nationality; if ($regionCode =="TW" || $regionCode=="HK" || $regionCode=="MO"){ $passagersdata[$i]->regionCode = "CN"; + } + else if ($regionCode=="UK" || $regionCode=="GB"){ + $passagersdata[$i]->regionCode = "GB"; //英国传GB + }else{ $passagersdata[$i]->regionCode = $regionCode; //国家简码 美国us ,中国cn }