Commit 785107f2 authored by hangjun83's avatar hangjun83

openapi 震坤行

parent 00dd745f
......@@ -334,7 +334,7 @@ class ZhenKhService
$pdf = $this->apiService->getPlatformDataEntries('zkh_order_delivery_pdf_'.$deliveryCode,'data_values');
if(!$pdf || empty($pdf)){
$zkhDeliveryCode = $this->apiService->getPlatformDataEntries('zkh_delivery_code_'.$deliveryCode,'data_values');
$deliveryInfo = $this->apiService->getDeliveryOrderDetailForPDF($zkhDeliveryCode['deliveryCode'],$this->getToken());
$deliveryInfo = $this->apiService->getDeliveryOrderDetailForPDF($zkhDeliveryCode['code']['deliveryCode'],$this->getToken());
if($deliveryInfo){
$this->apiService->storePlatformDataEntries('zkh_order_delivery_pdf_'.$deliveryCode,['pdf' => $deliveryInfo]);
return $deliveryInfo;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment