改名
This commit is contained in:
@@ -450,9 +450,12 @@ class Node extends HttpService
|
|||||||
*/
|
*/
|
||||||
public function dispatch(): mixed
|
public function dispatch(): mixed
|
||||||
{
|
{
|
||||||
if (empty($this->callback) && $this->restructure()) {
|
if (empty($this->callback)) {
|
||||||
|
$this->restructure();
|
||||||
|
if (empty($this->callback)) {
|
||||||
return Json::to(404, $node->_error ?? 'Page not found.');
|
return Json::to(404, $node->_error ?? 'Page not found.');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$requestParams = func_get_args();
|
$requestParams = func_get_args();
|
||||||
if (func_num_args() > 0) {
|
if (func_num_args() > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user