diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index e923bb37..19262469 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -539,7 +539,7 @@ class Node extends HttpService if (empty($this->callback)) { return Json::to(404, $this->errorMsg()); } - return call_user_func($this->handler, \request()); + return call_user_func($this->callback, \request()); }