Commit 49df048d authored by hangjun83's avatar hangjun83

openapi 震坤行

parent 151c58c5
...@@ -43,11 +43,9 @@ class KafkaService ...@@ -43,11 +43,9 @@ class KafkaService
$producer = new Producer($this->kafkaProducerConfig); $producer = new Producer($this->kafkaProducerConfig);
$producer->send($kafkaTopic, json_encode($contentValue), $key); $producer->send($kafkaTopic, json_encode($contentValue), $key);
app(SysLogService::class)->addOperationLogs( SimpleLogs::writeLog([
[ 'content' => $contentValue
'content' => $contentValue ],__CLASS__.':produerSend');
]
);
} catch (\Exception $exception) { } catch (\Exception $exception) {
$this->errLog($exception); $this->errLog($exception);
......
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