$path = $this->rule->parseUrlPath($url);if (empty($path)) {return [null, null];}// 解析控制器$controller = !empty($path) ? array_shift($path) : null;if ($controller && !preg_match('/^[A-Za-z0-9][\w|\.]*$/', $controller)) {throw new HttpException(404, 'controller not exists:' . $controller);}// 解析操作$action = !empty($path) ? array_shift($path) : null;$var = [];// 解析额外参数if ($path) {preg_replace_callback('/(\w+)\|([^\|]+)/', function ($match) use (&$var) {
| index_hkcms_lang | en |
| old_index_hkcms_lang | en |
| HKCMSSESSID | 467e420e0dc740c72fd8e3da6325096a |
| token30 | 03ac6f3edf999b2d6abac55e4a6ec19f |
| USER | www |
| HOME | /home/www |
| HTTP_COOKIE | index_hkcms_lang=en; old_index_hkcms_lang=en; HKCMSSESSID=467e420e0dc740c72fd8e3da6325096a |
| HTTP_ACCEPT_ENCODING | gzip, br, deflate |
| HTTP_ACCEPT | */* |
| HTTP_REFERER | https://gele.bj300.com.cn/ |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.4; +https://openai.com/gptbot) |
| HTTP_FROM | gptbot(at)openai.com |
| HTTP_X_OPENAI_HOST_HASH | 636810050 |
| HTTP_HOST | gele.bj300.com.cn |
| PATH_INFO | |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | gele.bj300.com.cn |
| SERVER_PORT | 443 |
| SERVER_ADDR | 172.17.12.16 |
| REMOTE_PORT | 33796 |
| REMOTE_ADDR | 74.7.227.149 |
| SERVER_SOFTWARE | nginx/1.24.0 |
| GATEWAY_INTERFACE | CGI/1.1 |
| HTTPS | on |
| REQUEST_SCHEME | https |
| SERVER_PROTOCOL | HTTP/2.0 |
| DOCUMENT_ROOT | /www/wwwroot/gele.bj300.com.cn/public |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | /e%E2%80%91commerce_&_parcels/161.html |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=/e%E2%80%91commerce_%26_parcels/161.html |
| SCRIPT_FILENAME | /www/wwwroot/gele.bj300.com.cn/public/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1783566680.9384 |
| REQUEST_TIME | 1783566680 |