try {$instance = Loader::controller($controller,$config['url_controller_layer'],$config['controller_suffix'],$config['empty_controller']);} catch (ClassNotFoundException $e) {throw new HttpException(404, 'controller not exists:' . $e->getClass());}// 获取当前操作名$action = $actionName . $config['action_suffix'];$vars = [];if (is_callable([$instance, $action])) {// 执行操作方法$call = [$instance, $action];
Call Stack
- in App.php line 583
- at App::module() in App.php line 456
- at App::exec() in App.php line 139
- at App::run() in start.php line 19
- at require('/data/wwwroot/td.880...') in index.php line 23
