Commit 4b663e16 authored by Liu lu's avatar Liu lu

使用协程上下文存储request_id作为唯一的标识

parent ffa98b7c
...@@ -52,6 +52,7 @@ class LogTraceAspect extends AbstractAspect ...@@ -52,6 +52,7 @@ class LogTraceAspect extends AbstractAspect
}); });
$result = $proceedingJoinPoint->process(); $result = $proceedingJoinPoint->process();
LogTraceHandler::recordProcess('返回结果:'.json_encode($result)); LogTraceHandler::recordProcess('返回结果:'.json_encode($result));
LogTraceHandler::markComplete();
return $result; return $result;
}catch (\Throwable $exception){ }catch (\Throwable $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