浏览代码

切换fedex到线上

lvhao 6 月之前
父节点
当前提交
fc4ccb22a9
共有 2 个文件被更改,包括 12 次插入12 次删除
  1. 6 6
      core/CoreApp/controllers/Systemfout.php
  2. 6 6
      core/CoreApp/controllers/Systemprint.php

+ 6 - 6
core/CoreApp/controllers/Systemfout.php

@@ -931,18 +931,18 @@ class Systemfout extends Start_Controller {
 			$time = time();
 			$time = time();
 			if($express['printcode'] == "FEDEXGF")
 			if($express['printcode'] == "FEDEXGF")
 			{
 			{
-			   $barcode = $this->fedex->get_data($fullorder);//获取联邦快递信息
+			    //$barcode = $this->fedex->get_data($fullorder);//获取联邦快递信息
 			   //升级的api
 			   //升级的api
-				//$barcode = $this->fedexv1->get_data($fullorder);//获取联邦快递信息
+				$barcode = $this->fedexv1->get_data($fullorder);//获取联邦快递信息
 			    if($barcode['x'] == 1)
 			    if($barcode['x'] == 1)
 			    {
 			    {
 				    $bctime = date('Ymd',$time);
 				    $bctime = date('Ymd',$time);
 				    $Hwaybill = $barcode['waybill'];
 				    $Hwaybill = $barcode['waybill'];
-					$Hyd = $this->_pdf($barcode['label'],'y-'.$Hwaybill,$bctime);
-				    $Hfp = $this->_pdf($barcode['invoice'],'f-'.$Hwaybill,$bctime);//开通ETD模式,保留PDF,不需要打印
+					// $Hyd = $this->_pdf($barcode['label'],'y-'.$Hwaybill,$bctime);
+				    // $Hfp = $this->_pdf($barcode['invoice'],'f-'.$Hwaybill,$bctime);//开通ETD模式,保留PDF,不需要打印
 
 
-				    // $Hyd = $this->_pdfurl($barcode['label'],'y-'.$Hwaybill,$bctime);
-				    // $Hfp = $this->_pdfurl($barcode['invoice'],'f-'.$Hwaybill,$bctime);//开通ETD模式,保留PDF,不需要打印
+				    $Hyd = $this->_pdfurl($barcode['label'],'y-'.$Hwaybill,$bctime);
+				    $Hfp = $this->_pdfurl($barcode['invoice'],'f-'.$Hwaybill,$bctime);//开通ETD模式,保留PDF,不需要打印
 				    if(isset($barcode['label']) && isset($Hwaybill))
 				    if(isset($barcode['label']) && isset($Hwaybill))
 				    {
 				    {
 					    if($fullorder['waybill'] != "")
 					    if($fullorder['waybill'] != "")

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

@@ -976,17 +976,17 @@ class Systemprint extends Start_Controller {
 				else if($fullorder['printcode'] == "FEDEXGF")//官方FEDEX接口
 				else if($fullorder['printcode'] == "FEDEXGF")//官方FEDEX接口
 				{
 				{
 					
 					
-				    $barcode = $this->fedex->get_data($fullorder);//获取联邦快递信息
+				    //$barcode = $this->fedex->get_data($fullorder);//获取联邦快递信息
 				    //接口升级
 				    //接口升级
-					//$barcode = $this->fedexv1->get_data($fullorder);//获取联邦快递信息
+					$barcode = $this->fedexv1->get_data($fullorder);//获取联邦快递信息
 					if($barcode['x'] == 1)
 					if($barcode['x'] == 1)
 					{
 					{
 						$bctime = date('Ymd',$time);
 						$bctime = date('Ymd',$time);
 						$Hwaybill = $barcode['waybill'];
 						$Hwaybill = $barcode['waybill'];
-						// $Hyd = $this->_pdfurl($barcode['label'],'y-'.$Hwaybill,$bctime);
-						// $Hfp = $this->_pdfurl($barcode['invoice'],'f-'.$Hwaybill,$bctime);//开通ETD模式,保留PDF,不需要打印
-						$Hyd = $this->_pdf($barcode['label'],'y-'.$Hwaybill,$bctime);
-						$Hfp = $this->_pdf($barcode['invoice'],'f-'.$Hwaybill,$bctime);//开通ETD模式,保留PDF,不需要打印
+						$Hyd = $this->_pdfurl($barcode['label'],'y-'.$Hwaybill,$bctime);
+						$Hfp = $this->_pdfurl($barcode['invoice'],'f-'.$Hwaybill,$bctime);//开通ETD模式,保留PDF,不需要打印
+						// $Hyd = $this->_pdf($barcode['label'],'y-'.$Hwaybill,$bctime);
+						// $Hfp = $this->_pdf($barcode['invoice'],'f-'.$Hwaybill,$bctime);//开通ETD模式,保留PDF,不需要打印
 						if(isset($barcode['label']) && isset($Hwaybill))
 						if(isset($barcode['label']) && isset($Hwaybill))
 						{
 						{
 						    if($fullorder['waybill'] != "")
 						    if($fullorder['waybill'] != "")