mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正
This commit is contained in:
@@ -293,7 +293,7 @@ class App
|
||||
$data = $method->invokeArgs($instance, [$action, '']);
|
||||
APP_DEBUG && Log::record('[ RUN ] ' . $method->getFileName(), 'info');
|
||||
} else {
|
||||
throw new Exception('method [ ' . (new \ReflectionClass($instance))->getName() . '->' . $action . ' ] not exists ', 10002);
|
||||
throw new HttpException(404,'method [ ' . (new \ReflectionClass($instance))->getName() . '->' . $action . ' ] not exists ');
|
||||
}
|
||||
}
|
||||
return $data;
|
||||
|
||||
Reference in New Issue
Block a user