Преглед на файлове

提交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);
 						$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);