|
|
|
@ -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']) { |
|
|
|
// 发送短信 |
|
|
|
|