Przeglądaj źródła

提交惠程的9610

lvhao 1 dzień temu
rodzic
commit
bfd3d84c68

+ 3 - 3
core/CoreApp/controllers/Systembound.php

@@ -427,7 +427,7 @@ class Systembound extends Start_Controller {
 				$typename = "云途";
 			}else{
 				//GES  7     惠城联邦  50 惠城GES  51  惠城安迈世  51  惠城DHL 69 惠城usps  73
-				$cx_arr = [7,50,51,52,69,73,88];//需要的查询数据
+				$cx_arr = [7,50,51,52,69,73,88,93];//需要的查询数据
 				$typename = "惠程";
 			}
 			
@@ -835,7 +835,7 @@ class Systembound extends Start_Controller {
 				if(isset($dd[0]['waybill'])){
 				    $tmp_waybill= $dd[0]['waybill'];
 				}
-				if(($dd[0]['printtype'] != 2) && (!in_array($dd[0]['express'],[50,51,52,69,73,75,91])))
+				if(($dd[0]['printtype'] != 2) && (!in_array($dd[0]['express'],[50,51,52,69,73,75,91,93])))
 				{
 					echo json_encode(array('msg'=>'请扫描正确的条码!','success'=>false));exit;
 				}
@@ -1147,7 +1147,7 @@ class Systembound extends Start_Controller {
 					}
 				}
 				//惠程-美国USPS  惠程-联邦  惠程-安迈世  惠程-DHL  惠程-GES(欧盟)
-				if(($dd[0]['printtype'] != 2) && (!in_array($dd[0]['express'],[50,51,52,69,73,75,91])))
+				if(($dd[0]['printtype'] != 2) && (!in_array($dd[0]['express'],[50,51,52,69,73,75,91,93])))
 				{
 					echo json_encode(array('msg'=>'请扫描正确的条码!','success'=>false));exit;
 				}

+ 1 - 1
core/CoreApp/models/Model_logic_express.php

@@ -17,7 +17,7 @@ class Model_logic_express extends Lin_Model {
         }else if(in_array($express_code,[82,66,67])){
             //云途(美国) 云途欧盟  云途欧盟-带保险
             return $this->check_yt($waybill);
-        }else if(in_array($express_code,[71,75,31,63,50,24])){
+        }else if(in_array($express_code,[71,75,31,63,50,24,93])){
             //云尚快递快线和普货 fedex   fedex(杭州)-不报关 FedEx-US2  惠城联邦
             return $this->check_fedex($waybill);
         }else if(in_array($express_code,[1,69,90])){