Commit f62bdeda authored by hangjun83's avatar hangjun83

财务开票模块更新

parent 37913d11
......@@ -649,7 +649,7 @@ class InvoiceService
$path = config('filesystems.default.root').'public/finance/invoice/'.$invoiceInfo['invoice_platform'].'/'.$invoiceInfo['platform_invoice_id'].'/';
$this->saveInvoicePdf($path.$filename, $invoiceInfo['invoice_pdf_url']);
$downloadUrl = $invoiceInfo['invoice_platform'] == 'rhawn' ? 'http://download.rhawn.cn/' : 'http://download.chem-mall.com';
$downloadUrl = $invoiceInfo['invoice_platform'] == 'rhawn' ? 'http://download.rhawn.cn/' : 'http://download.chem-mall.com/';
return [ 'downloadUrl' => $downloadUrl.$path.$filename, 'path' => $path, 'filename' => $filename ];
}
......
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