Ver código fonte

提交数据

lvhao 1 dia atrás
pai
commit
f030f583ac

+ 4 - 1
core/CoreApp/controllers/Systemprint.php

@@ -1519,7 +1519,7 @@ class Systemprint extends Start_Controller {
 					}
 					**/
 				}
-				else if($fullorder['printcode'] == "HUALEI-FEDEX" || $fullorder['printcode'] == "HUALEI-ARAMEX-S" || $fullorder['printcode'] == "HUALEI-ARAMEX-G" || $fullorder['printcode'] == "HUALEI-GES-EU" || $fullorder['printcode'] == "HUALEI-DHL-A1" || $fullorder['printcode'] == "HUALEI-WMS"||$fullorder['printcode'] == 'HUALEI-DHL' || $fullorder['printcode'] == 'HUALEI-MLXY' || $fullorder['printcode'] == 'HUALEI-MGLB')
+				else if($fullorder['printcode'] == "HUALEI-FEDEX" || $fullorder['printcode'] == "HUALEI-ARAMEX-S" || $fullorder['printcode'] == "HUALEI-ARAMEX-G" || $fullorder['printcode'] == "HUALEI-GES-EU" || $fullorder['printcode'] == "HUALEI-DHL-A1" || $fullorder['printcode'] == "HUALEI-WMS"||$fullorder['printcode'] == 'HUALEI-DHL' || $fullorder['printcode'] == 'HUALEI-MLXY' || $fullorder['printcode'] == 'HUALEI-MGLB' || $fullorder['printcode'] == 'HUALEI-UNI')
 				{
 					$barcode = $this->hualei->get_data($fullorder);
 					$bctime = date('Ymd',$time);
@@ -1589,6 +1589,9 @@ class Systemprint extends Start_Controller {
 								        //$type = 5;
 										$type = 1;
 									}
+									else if($fullorder['printcode'] == "HUALEI-UNI"){
+										$type = 1;
+									}
 									else
 									{
 								        $type = 2;

+ 4 - 0
core/CoreApp/models/Model_hualei.php

@@ -65,6 +65,10 @@ function __construct(){
 			$product_id  = 8641;
 			$link = 'param=';
 			$ys = 0;//
+		}else if($data['printcode'] == 'HUALEI-UNI'){
+			$product_id  = 0;
+			$link = 'param=';
+			$ys = 0;//
 		}