Commit 50a96127 authored by hangjun83's avatar hangjun83

财务开票模块更新

parent 48f7a77f
......@@ -545,6 +545,11 @@ class InvoiceService
if(isset($invoiceParams['delay']) && !empty($invoiceParams['delay'])){
if(time() < $invoiceParams['delay']){
SimpleLogs::writeLog("流水号:".$invoiceParams['invoice_number'].'的邮件还未到发送时间', __CLASS__.':'.__FUNCTION__);
$this->apiService->pushQueue([
'params' => $invoiceParams,
'consumer' => __CLASS__,
'method' => 'sendInvoiceEmail'
],'invoiceEmailPush');
return true;
}
}
......
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