Procházet zdrojové kódy

提交fedex打印的情况

lvhao před 2 dny
rodič
revize
4826a0e289
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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);
 						$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);
 						$Hfp = $this->_pdfurl($barcode['invoice'],'f-'.$Hwaybill,$bctime);//开通ETD模式,保留PDF,不需要打印
 						// $Hyd = $this->_pdf($barcode['label'],'y-'.$Hwaybill,$bctime);