改名
This commit is contained in:
@@ -354,9 +354,6 @@ class Node extends HttpService
|
||||
public function annotationInject(string $className, string $action): Node
|
||||
{
|
||||
$annotation = annotation()->getMethods($className, $action);
|
||||
if ($action == 'xiaqi') {
|
||||
var_export($annotation);
|
||||
}
|
||||
if (empty($annotation)) {
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -492,8 +492,8 @@ class Router extends HttpService implements RouterInterface
|
||||
if (!($node instanceof Node)) {
|
||||
return send(self::NOT_FOUND);
|
||||
}
|
||||
var_dump($node);
|
||||
send(($response = $node->dispatch()), 200);
|
||||
var_dump($response);
|
||||
if (!$node->hasAfter()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user