|
|
|
@ -234,7 +234,7 @@ class InvoiceIssuance extends Base |
|
|
|
} |
|
|
|
$InvoiceIssuanceData = (new InvoiceIssuanceData)->where(['invoice_issuance_id' => $id, 'status' => 1])->find(); |
|
|
|
if (!$InvoiceIssuanceData) { |
|
|
|
throw new FuncException('PDF文件为下载成功'); |
|
|
|
throw new FuncException('PDF文件下载失败'); |
|
|
|
} |
|
|
|
$filePath = $InvoiceIssuanceData['pdf_filepath']; |
|
|
|
$file_dir = App::getRootPath() . 'public/' . $filePath; |
|
|
|
|