Browse Source

修改代码

lvhao 3 weeks ago
parent
commit
c8fd01750b
1 changed files with 8 additions and 8 deletions
  1. 8 8
      core/CoreApp/models/Model_cne.php

+ 8 - 8
core/CoreApp/models/Model_cne.php

@@ -19,14 +19,14 @@ function __construct(){
 		$data['province'] = trim($data['province'],' ');
 		$dataprovince = strlen($data['province'])==2?$data['province']:$ToState[strtolower($data['province'])];
 		$ordertype = 4;
-		if($data['printcode'] == 'FedEx_GD'){
-			$zipcode_first = substr($data['zipcode'],0,1);
-			if($zipcode_first*1 < 7){
-				$printcode = [
-					'FK','FK','80-86'
-				];
-			}
-		}
+		// if($data['printcode'] == 'FedEx_GD'){
+		// 	$zipcode_first = substr($data['zipcode'],0,1);
+		// 	if($zipcode_first*1 < 7){
+		// 		$printcode = [
+		// 			'FK','FK','80-86'
+		// 		];
+		// 	}
+		// }
 		//创建并预报订单
 
 		$count = array(