* @param integer|Response $code 状态码 或者 Response对象实例* @param string $message 错误信息* @param array $header 参数*/function abort($code, string $message = '', array $header = []){if ($code instanceof Response) {throw new HttpResponseException($code);} else {throw new HttpException($code, $message, null, $header);}}}if (!function_exists('app')) {/*** 快速获取容器中的实例 支持依赖注入* @param string $name 类名或标识 默认获取当前应用实例* @param array $args 参数
| server_name_session | f3df9d604f7733371e24e64a73d68afd |
| USER | www |
| HOME | /home/www |
| HTTP_COOKIE | server_name_session=f3df9d604f7733371e24e64a73d68afd |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_ACCEPT | */* |
| HTTP_HOST | wenlv.site.ilink.top |
| PATH_INFO | |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | wenlv.vxbao.cn |
| SERVER_PORT | 443 |
| SERVER_ADDR | 172.28.49.129 |
| REMOTE_PORT | 50177 |
| REMOTE_ADDR | 216.73.216.138 |
| SERVER_SOFTWARE | nginx/1.22.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| HTTPS | on |
| REQUEST_SCHEME | https |
| SERVER_PROTOCOL | HTTP/2.0 |
| DOCUMENT_ROOT | /www/wwwroot/wenlv.vxbao.cn/public |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | / |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | |
| SCRIPT_FILENAME | /www/wwwroot/wenlv.vxbao.cn/public/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1765869182.8494 |
| REQUEST_TIME | 1765869182 |
| APP_DEBUG | 1 |
| APP_DEFAULT_TIMEZONE | Asia/Shanghai |
| DATABASE_TYPE | mysql |
| DATABASE_HOSTNAME | 127.0.0.1 |
| DATABASE_DATABASE | test |
| DATABASE_USERNAME | username |
| DATABASE_PASSWORD | password |
| DATABASE_HOSTPORT | 3306 |
| DATABASE_CHARSET | utf8 |
| DATABASE_DEBUG | 1 |
| LANG_DEFAULT_LANG | zh-cn |