This commit is contained in:
2021-03-04 00:29:05 +08:00
parent a7b0246d53
commit 9d5007ad91
2 changed files with 3 additions and 4 deletions
+3 -3
View File
@@ -469,9 +469,9 @@ class Node extends HttpService
*/
public function dispatch(): mixed
{
if (!empty($this->callback)) {
return $this->runWith(...func_get_args());
}
// if (!empty($this->callback)) {
// return $this->runWith(...func_get_args());
// }
if (empty($this->restructure()->callback)) {
return Json::to(404, $this->errorMsg());
}