This commit is contained in:
2020-09-08 11:53:09 +08:00
parent 76ed7406b4
commit 215d5517c6
5 changed files with 81 additions and 31 deletions
+1 -1
View File
@@ -420,7 +420,7 @@ class Router extends Application implements RouterInterface
if (empty($node->callback)) {
return JSON::to(404, 'Page not found.');
}
return call_user_func($node->callback, $request);
return $node;
}