记录日志测试

This commit is contained in:
2024-12-04 09:42:03 +08:00
parent b99e1aa718
commit 52ba68c422

View File

@@ -41,7 +41,7 @@ class LogJob extends BaseJob implements JobInterface
$opLogModel->created_at = date('Y-m-d H:i:s');
$opLogModel->saveOrFail();
PrescriptionLog::saveLog(1,'处方自动失效队列end'. json_encode($this->params));
echo '日志队列结束:'. "\r\n";
} catch (\Exception $exception) {
echo '日志队列异常:'. $exception->getMessage(). "\r\n";
return;