This commit is contained in:
2021-04-26 12:32:38 +08:00
parent 9ae3dc8f8a
commit 0db6782135
3 changed files with 528 additions and 526 deletions
+1 -2
View File
@@ -540,8 +540,7 @@ class Router extends HttpService implements RouterInterface
if (!($node = $this->find_path(\request()))) {
return send(self::NOT_FOUND);
}
$response = $node->dispatch();
send($response, 200);
send(($response = $node->dispatch()), 200);
if (!$node->hasAfter()) {
return null;
}