* @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 调用参数 支持字符串和数组
| USER | nobody |
| HOME | / |
| HTTP_X_MICROSOFTAJAX | Delta=true |
| HTTP_USER_AGENT | Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2) |
| HTTP_CONTENT_TYPE | application/x-www-form-urlencoded; charset=utf-8 |
| HTTP_CACHE_CONTROL | no-cache |
| HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
| HTTP_ACCEPT_ENCODING | gzip, deflate |
| HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
| HTTP_X_APPLE_STORE_FRONT | 143444,12 |
| HTTP_X_APPLE_TZ | 0 |
| HTTP_REFERER | https://www.baidu.com/search/spider.htm |
| HTTP_HOST | www.qqwxsc.com |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | www.qqwxsc.com |
| SERVER_PORT | 443 |
| SERVER_ADDR | 10.19.42.43 |
| REMOTE_PORT | 58874 |
| REMOTE_ADDR | 156.254.184.162 |
| SERVER_SOFTWARE | nginx/1.18.0 |
| GATEWAY_INTERFACE | CGI/1.1 |
| HTTPS | on |
| REQUEST_SCHEME | https |
| SERVER_PROTOCOL | HTTP/1.1 |
| DOCUMENT_ROOT | /data/user/htdocs |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | //News/Industry_News/2018-08-08/583.html |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | application/x-www-form-urlencoded; charset=utf-8 |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=/News/Industry_News/2018-08-08/583.html |
| PATH_INFO | |
| SCRIPT_FILENAME | /data/user/htdocs/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1777157211.1389 |
| REQUEST_TIME | 1777157211 |