From 8f907df54aac95690542ceca7cba39fef58de30e Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Thu, 26 Dec 2024 16:26:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=AE=E7=AE=B1=E7=9F=AD=E4=BF=A1=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E5=8F=91=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/task/InvoiceIssuanceTask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/task/InvoiceIssuanceTask.php b/app/controller/task/InvoiceIssuanceTask.php index 07188ae..2320576 100644 --- a/app/controller/task/InvoiceIssuanceTask.php +++ b/app/controller/task/InvoiceIssuanceTask.php @@ -64,7 +64,7 @@ class InvoiceIssuanceTask extends Base if ($InvoiceIssuanceValue['email']) { // 发送发票到邮箱 - $path = InvoiceIssuanceService::getQrCode($InvoiceIssuanceValue['id']); + $path = InvoiceIssuanceService::getDownFileUrl($InvoiceIssuanceValue['id']); $emailResult = (new EmailService())->sendInvoice($InvoiceIssuanceValue['email'], '发票', $path); if ($emailResult === true && $InvoiceIssuanceValue['mobile']) { // 发送短信