This commit is contained in:
as2252258@163.com
2021-04-21 01:49:17 +08:00
parent e48c76e95d
commit 1ee39fee64
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -127,9 +127,7 @@ class Node extends HttpService
public function createDispatch(): Closure
{
return function () {
return Dispatch::create($this->handler,\request())->dispatch();
return call_user_func($this->handler, ...$dispatchParam);
return Dispatch::create($this->handler)->dispatch();
};
}