modify
This commit is contained in:
@@ -126,10 +126,9 @@ class Node extends HttpService
|
|||||||
if (empty($dispatchParam)) {
|
if (empty($dispatchParam)) {
|
||||||
$dispatchParam = [\request()];
|
$dispatchParam = [\request()];
|
||||||
}
|
}
|
||||||
// if ($this->handler instanceof Closure) {
|
if ($this->handler instanceof Closure) {
|
||||||
// return call_user_func($this->handler, ...$dispatchParam);
|
|
||||||
// }
|
|
||||||
return call_user_func($this->handler, ...$dispatchParam);
|
return call_user_func($this->handler, ...$dispatchParam);
|
||||||
|
}
|
||||||
return \aop($this->handler, $dispatchParam);
|
return \aop($this->handler, $dispatchParam);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user