Commit da0c1e7c authored by hj's avatar hj

更新提交

parent f9bd94a8
......@@ -673,10 +673,8 @@ class InvoiceService
if($cusInfo){
$cusInfo = current($cusInfo);
$result = $this->mailService->sendMailToHtml($invoiceParams['invoice_platform'], $title, $cusInfo['cus_invoice_email'],$message);
if($result){
app(EmailSendLogsService::class)->saveEmailLogs($platformName, $invoiceParams['invoice_platform'], $cusInfo, $message);
SimpleLogs::writeLog($message, __CLASS__.':'.__FUNCTION__.' 邮件发送成功:');
}
$this->apiService->storePlatformDataEntries('invoice_sended_mail_list',array_merge($sended,[$invoiceParams['invoice_real_number']]));
}
}
......
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