From 7d0417ddc9564b792ab94655e1b69d3f024310eb Mon Sep 17 00:00:00 2001 From: ljl Date: Thu, 25 Jan 2024 17:58:34 +0800 Subject: [PATCH] yh --- app/libs/services/OrderPrint/ExpressTplService.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/libs/services/OrderPrint/ExpressTplService.php b/app/libs/services/OrderPrint/ExpressTplService.php index 3cebb6e..589df65 100644 --- a/app/libs/services/OrderPrint/ExpressTplService.php +++ b/app/libs/services/OrderPrint/ExpressTplService.php @@ -606,6 +606,8 @@ class ExpressTplService extends AbstractService { if (!empty($sysExpressTpl['waybillCoverImg'])) { $sysExpressTpl['waybillCoverImg'] = OrderPrintTool::opPubAbsUrl($sysExpressTpl['waybillCoverImg']); } + $companyCode = $this->logisticsPlatformDao->getCompanyCodeByLogisticsId($sysExpressTpl['logisticsId'], AppConst::appPlatformPdd); + $sysExpressTpl['logisticsCode'] = $companyCode; $serviceList = $this->getServiceList($sysExpressTpl['waybillType'], $sysExpressTpl['cpCode']); return ['sysExpressTpl' => $sysExpressTpl, 'serviceList' => $serviceList]; }