Browse Source

提交信息

lvhao 5 tháng trước cách đây
mục cha
commit
0251cc199c

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

@@ -1495,7 +1495,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')
+				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')
 				{
 					$barcode = $this->hualei->get_data($fullorder);
 					$bctime = date('Ymd',$time);

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

@@ -55,6 +55,13 @@ function __construct(){
 			$ys = 0;//
 			$duty_type = "DDP";
 		}
+		else if($data['printcode'] == 'HUALEI-MLXY'){
+			$product_id  = 7581;
+			$link = 'param=';
+			$ys = 0;//
+			//$duty_type = "DDP";
+		}
+
 		$rs = $this->curlRequest('http://123.207.33.169:8082/selectAuth.htm',"username=LY&password=ly999");
 		$reData = json_decode(str_replace("'", "\"", $rs['result']));
 		$customer_id = $reData->customer_id;