改名
This commit is contained in:
@@ -73,6 +73,7 @@ class Middleware
|
|||||||
[$controller, $action] = $node->handler;
|
[$controller, $action] = $node->handler;
|
||||||
$attributes = Snowflake::app()->getAttributes();
|
$attributes = Snowflake::app()->getAttributes();
|
||||||
$annotation = $attributes->getByClass(get_class($controller), $action);
|
$annotation = $attributes->getByClass(get_class($controller), $action);
|
||||||
|
var_dump($annotation);
|
||||||
if (count($annotation) < 1) {
|
if (count($annotation) < 1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -444,6 +444,7 @@ class Node extends HttpService
|
|||||||
*/
|
*/
|
||||||
public function restructure(): static
|
public function restructure(): static
|
||||||
{
|
{
|
||||||
|
var_dump($this->handler);
|
||||||
if (empty($this->handler)) {
|
if (empty($this->handler)) {
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user