Commit 98c8d381 authored by hangjun83's avatar hangjun83

openapi

parent 27225ca5
...@@ -25,6 +25,8 @@ class SysLogListener ...@@ -25,6 +25,8 @@ class SysLogListener
*/ */
public function handle(SysLogEvent $event) public function handle(SysLogEvent $event)
{ {
if(env('APP_DEBUG')){
app(SysLogService::class)->addSysLog($event->request); app(SysLogService::class)->addSysLog($event->request);
} }
}
} }
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