if ($this->param['auto_search']) {
$controller = $this->autoFindController($module, $path);
} else {
// 解析控制器
$controller = !empty($path) ? array_shift($path) : null;
}
if ($controller && !preg_match('/^[A-Za-z][\w|\.]*$/', $controller)) {
throw new HttpException(404, 'controller not exists:' . $controller);
}
// 解析操作
$action = !empty($path) ? array_shift($path) : null;
// 解析额外参数
if ($path) {
if ($this->rule->getConfig('url_param_type')) {
$var += $path;
| PHPSESSID | 58lk34ijcd6sd9djmu193h0on4 | 
| USER | www | 
| HOME | /home/www | 
| FCGI_ROLE | RESPONDER | 
| SCRIPT_FILENAME | /www/wwwroot/aichance.com.cn/public/index.php | 
| QUERY_STRING | s=/show-27-620-1.html | 
| REQUEST_METHOD | GET | 
| CONTENT_TYPE | |
| CONTENT_LENGTH | |
| SCRIPT_NAME | /index.php | 
| REQUEST_URI | /show-27-620-1.html | 
| DOCUMENT_URI | /index.php | 
| DOCUMENT_ROOT | /www/wwwroot/aichance.com.cn/public | 
| SERVER_PROTOCOL | HTTP/1.1 | 
| REQUEST_SCHEME | http | 
| GATEWAY_INTERFACE | CGI/1.1 | 
| SERVER_SOFTWARE | nginx/1.22.1 | 
| REMOTE_ADDR | 216.172.156.42 | 
| REMOTE_PORT | 54734 | 
| SERVER_ADDR | 10.67.39.2 | 
| SERVER_PORT | 80 | 
| SERVER_NAME | aichance.com.cn | 
| REDIRECT_STATUS | 200 | 
| PATH_INFO | |
| HTTP_USER_AGENT | Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) | 
| HTTP_HOST | www.aichance.com.cn | 
| HTTP_ACCEPT | */* | 
| HTTP_ACCEPT_ENCODING | gzip | 
| HTTP_COOKIE | PHPSESSID=58lk34ijcd6sd9djmu193h0on4 | 
| PHP_SELF | /index.php | 
| REQUEST_TIME_FLOAT | 1737064297.2705 | 
| REQUEST_TIME | 1737064297 | 
| DS | / | 
| ROOT_PATH | /www/wwwroot/aichance.com.cn/ | 
| APP_PATH | /www/wwwroot/aichance.com.cn/app/ | 
| WWW_ROOT | /www/wwwroot/aichance.com.cn/public/ | 
| WOO_PATH | /www/wwwroot/aichance.com.cn/woo/ | 
| ADDONS_PATH | /www/wwwroot/aichance.com.cn/addons/ | 
| APP_CACHE_DIR | /www/wwwroot/aichance.com.cn/data/cache/ |