This commit is contained in:
2020-12-16 16:13:42 +08:00
parent b7a068e587
commit df1bb03441
+3 -1
View File
@@ -60,7 +60,9 @@ class Middleware
$this->set_attributes($node);
}
return $node->callback = Reduce::reduce(function () use ($node) {
var_dump($node->handler);
if (!request()->isOption) {
var_dump($node);
}
return Dispatch::create($node->handler, func_get_args())->dispatch();
}, $this->annotation($node));
} catch (\Throwable $exception) {