This commit is contained in:
2020-12-16 15:42:27 +08:00
parent cc59427f3b
commit 21c1aaa42c
2 changed files with 4 additions and 4 deletions
+1
View File
@@ -438,6 +438,7 @@ class Node extends Application
if (empty($this->callback)) {
return JSON::to(404, $node->_error ?? 'Page not found.');
}
var_dump($this->callback);
$requestParams = func_get_args();
if (func_num_args() > 0) {
return call_user_func($this->callback, ...$requestParams);