Commit aba0dae4 authored by hangjun83's avatar hangjun83

财务开票模块更新

parent 51b9cd3b
......@@ -561,7 +561,7 @@ class InvoiceService
}
$filename = $invoiceInfo['platform_invoice_id'].'_'.$invoiceInfo['invoice_number'].'_'.$invoiceInfo['invoice_real_date'].'.pdf';
$path = config('filesystems.default.root').'public/finance/invoice/'.$invoiceParams['invoice_platform'].'/'.$invoiceInfo['platform_invoice_id'].'/';
$path = config('filesystems.default.root').'public/finance/invoice/'.$invoiceInfo['invoice_platform'].'/'.$invoiceInfo['platform_invoice_id'].'/';
if(!Storage::exists($path.$filename)){
$pdf = $this->apiService->clientRequest('get',$invoiceInfo['invoice_pdf_url'],[]);
if($pdf){
......
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