소스 검색

提交fedex打印的情况

lvhao 1 개월 전
부모
커밋
4826a0e289
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      core/CoreApp/controllers/Systemprint.php

+ 2 - 0
core/CoreApp/controllers/Systemprint.php

@@ -1006,6 +1006,8 @@ class Systemprint extends Start_Controller {
 					{
 					{
 						$bctime = date('Ymd',$time);
 						$bctime = date('Ymd',$time);
 						$Hwaybill = $barcode['waybill'];
 						$Hwaybill = $barcode['waybill'];
+						$barcode['label'] = str_replace('https://www.fedex.com/', 'http://erpfedex.wepolicy.cn/', $barcode['label']);
+						$barcode['invoice'] = str_replace('https://www.fedex.com/', 'http://erpfedex.wepolicy.cn/', $barcode['invoice']);
 						$Hyd = $this->_pdfurl($barcode['label'],'y-'.$Hwaybill,$bctime);
 						$Hyd = $this->_pdfurl($barcode['label'],'y-'.$Hwaybill,$bctime);
 						$Hfp = $this->_pdfurl($barcode['invoice'],'f-'.$Hwaybill,$bctime);//开通ETD模式,保留PDF,不需要打印
 						$Hfp = $this->_pdfurl($barcode['invoice'],'f-'.$Hwaybill,$bctime);//开通ETD模式,保留PDF,不需要打印
 						// $Hyd = $this->_pdf($barcode['label'],'y-'.$Hwaybill,$bctime);
 						// $Hyd = $this->_pdf($barcode['label'],'y-'.$Hwaybill,$bctime);