改名
This commit is contained in:
@@ -227,6 +227,7 @@ class Response extends HttpService
|
||||
if (mb_strlen($sendData) >= 134217728) {
|
||||
$this->response->end('');
|
||||
} else {
|
||||
Snowflake::writeFile(storage('request.log'), $sendData);
|
||||
$this->response->end($sendData);
|
||||
}
|
||||
$this->response = null;
|
||||
|
||||
@@ -545,7 +545,8 @@ class Router extends HttpService implements RouterInterface
|
||||
if (!($node = $this->find_path(\request()))) {
|
||||
return send(self::NOT_FOUND);
|
||||
}
|
||||
send($response = $node->dispatch(), 200);
|
||||
$response = $node->dispatch();
|
||||
send($response, 200);
|
||||
if (!$node->hasAfter()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user