diff --git a/library/think/Response.php b/library/think/Response.php index 7a58ca65..d5ab5827 100644 --- a/library/think/Response.php +++ b/library/think/Response.php @@ -126,6 +126,8 @@ class Response fastcgi_finish_request(); } + // 监听response_end + Hook::listen('response_end', $this); } /**