@@ -28,4 +28,9 @@ class HttpLog
Log::info(json_encode($data,JSON_UNESCAPED_UNICODE));
return $next($request);
}
+
+ public function end(\think\Response $response)
+ {
+ Log::info('响应结束:'.json_encode($response->getData(),JSON_UNESCAPED_UNICODE));
+ }