This commit is contained in:
2021-03-08 14:49:11 +08:00
parent 101b9917a3
commit e68bb00920
2 changed files with 5 additions and 4 deletions
-2
View File
@@ -480,10 +480,8 @@ class Router extends HttpService implements RouterInterface
{
try {
if (!($node = $this->find_path(\request()))) {
var_dump($node->path);
return send(self::NOT_FOUND);
}
var_dump($node->path);
send($response = $node->dispatch(), 200);
if (!$node->hasAfter()) {
return null;