[0] HttpException in App.php line 606

方法不存在:app\index\controller\Map->rent()

  1. $actionName = $suffix ? substr($methodName, 0, -strlen($suffix)) : $methodName;
  2. $request->action($actionName);
  3. } elseif (is_callable([$instance, '_empty'])) {
  4. // 空操作
  5. $call = [$instance, '_empty'];
  6. $vars = [$actionName];
  7. } else {
  8. // 操作不存在
  9. throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');
  10. }
  11. Hook::listen('action_begin', $call);
  12. return self::invokeMethod($call, $vars);
  13. }
  14. /**
  15. * URL路由检测(根据PATH_INFO)