#0 [0]HttpException in helper.php line 53

  1. * @param integer|Response $code 状态码 或者 Response对象实例
  2. * @param string $message 错误信息
  3. * @param array $header 参数
  4. */
  5. function abort($code, string $message = '', array $header = [])
  6. {
  7. if ($code instanceof Response) {
  8. throw new HttpResponseException($code);
  9. } else {
  10. throw new HttpException($code, $message, null, $header);
  11. }
  12. }
  13. }
  14. if (!function_exists('app')) {
  15. /**
  16. * 快速获取容器中的实例 支持依赖注入
  17. * @param string $name 类名或标识 默认获取当前应用实例
  18. * @param array $args 参数

Call Stack

  1. in helper.php line 53
  2. at abort() in Index.php line 85
  3. at Index->page()
  4. at ReflectionMethod->invokeArgs() in Container.php line 343
  5. at Container->invokeReflectMethod() in Controller.php line 110
  6. at Controller->think\route\dispatch\{closure}() in Pipeline.php line 59
  7. at Pipeline->think\{closure}() in PublicData.php line 31
  8. at PublicData->handle()
  9. at call_user_func() in Middleware.php line 142
  10. at Middleware->think\{closure}() in Pipeline.php line 85
  11. at Pipeline->think\{closure}() in Pipeline.php line 66
  12. at Pipeline->then() in Controller.php line 113
  13. at Controller->exec() in Dispatch.php line 89
  14. at Dispatch->run() in Route.php line 772
  15. at Route->think\{closure}() in Pipeline.php line 59
  16. at Pipeline->think\{closure}() in Pipeline.php line 66
  17. at Pipeline->then() in Route.php line 773
  18. at Route->dispatch() in Http.php line 216
  19. at Http->dispatchToRoute() in Http.php line 206
  20. at Http->think\{closure}() in Pipeline.php line 59
  21. at Pipeline->think\{closure}() in MultiApp.php line 71
  22. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  23. at Pipeline->think\{closure}() in DiviceMiddleware.php line 21
  24. at DiviceMiddleware->handle()
  25. at call_user_func() in Middleware.php line 142
  26. at Middleware->think\{closure}() in Pipeline.php line 85
  27. at Pipeline->think\{closure}() in Pipeline.php line 66
  28. at Pipeline->then() in MultiApp.php line 72
  29. at MultiApp->handle()
  30. at call_user_func() in Middleware.php line 142
  31. at Middleware->think\{closure}() in Pipeline.php line 85
  32. at Pipeline->think\{closure}() in SessionInit.php line 67
  33. at SessionInit->handle()
  34. at call_user_func() in Middleware.php line 142
  35. at Middleware->think\{closure}() in Pipeline.php line 85
  36. at Pipeline->think\{closure}() in TraceDebug.php line 71
  37. at TraceDebug->handle()
  38. at call_user_func() in Middleware.php line 142
  39. at Middleware->think\{closure}() in Pipeline.php line 85
  40. at Pipeline->think\{closure}() in Pipeline.php line 66
  41. at Pipeline->then() in Http.php line 207
  42. at Http->runWithRequest() in Http.php line 170
  43. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www-data
HOME /var/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.fx112.cn
SCRIPT_FILENAME /var/www/fx112.cn/public/index.php
REDIRECT_STATUS 200
SERVER_NAME fx112.cn
SERVER_PORT 443
SERVER_ADDR 103.136.35.134
REMOTE_USER
REMOTE_PORT 55802
REMOTE_ADDR 3.239.57.87
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /var/www/fx112.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /rate/USDCNY
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//rate/USDCNY
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711654737.1539
REQUEST_TIME 1711654737