* @param integer|Response $code 状态码 或者 Response对象实例* @param string $message 错误信息* @param array $header 参数*/function abort($code, $message = null, $header = []){if ($code instanceof Response) {throw new HttpResponseException($code);} else {throw new HttpException($code, $message, null, $header);}}}if (!function_exists('action')) {/*** 调用模块的操作方法 参数格式 [模块/控制器/]操作* @param string $url 调用地址* @param string|array $vars 调用参数 支持字符串和数组
| PHPSESSID | 2g2bt04eo12ghdma4ohf7eidat |
| USER | www |
| HOME | /home/www |
| HTTP_COOKIE | PHPSESSID=2g2bt04eo12ghdma4ohf7eidat |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_ACCEPT | */* |
| HTTP_HOST | www.winnerinf.com |
| HTTP_USER_AGENT | Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) |
| PATH_INFO | |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | winnerinf.com |
| SERVER_PORT | 443 |
| SERVER_ADDR | 172.16.49.217 |
| REMOTE_PORT | 60306 |
| REMOTE_ADDR | 50.2.50.50 |
| SERVER_SOFTWARE | nginx/1.22.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| HTTPS | on |
| REQUEST_SCHEME | https |
| SERVER_PROTOCOL | HTTP/1.1 |
| DOCUMENT_ROOT | /www/wwwroot/cn_winnerinf |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | /sitemap.xml |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=/sitemap.xml |
| SCRIPT_FILENAME | /www/wwwroot/cn_winnerinf/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1766651837.8229 |
| REQUEST_TIME | 1766651837 |
| UX_ADMIN_URL | @growthman1688 |
| ROOT_PATH | /www/wwwroot/cn_winnerinf/ |
| APP_PATH | /www/wwwroot/cn_winnerinf/application/ |
| DS | / |
| ADDON_PATH | /www/wwwroot/cn_winnerinf/addons/ |
| ROOT_URL | / |
| TEMPLATE_PATH | /www/wwwroot/cn_winnerinf/templates/ |
| PINYIN_DEFAULT | 4096 |
| PINYIN_TONE | 2 |
| PINYIN_NO_TONE | 4 |
| PINYIN_ASCII_TONE | 8 |
| PINYIN_NAME | 16 |
| PINYIN_KEEP_NUMBER | 32 |
| PINYIN_KEEP_ENGLISH | 64 |
| PINYIN_UMLAUT_V | 128 |
| PINYIN_KEEP_PUNCTUATION | 256 |