->setAction($this->actionName);}public function exec(){try {// 实例化控制器$instance = $this->controller($this->controller);} catch (ClassNotFoundException $e) {throw new HttpException(404, 'controller not exists:' . $e->getClass());}return $this->responseWithMiddlewarePipeline($instance, $this->actionName);}/*** 实例化访问控制器* @access public* @param string $name 资源地址
| think_lang | zh-cn |
| f_lg | cn |
| USER | www |
| HOME | /home/www |
| 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 | cz-hiyou.com |
| PATH_INFO | |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | cz-hiyou.com |
| SERVER_PORT | 443 |
| SERVER_ADDR | 172.29.31.19 |
| REMOTE_PORT | 31183 |
| REMOTE_ADDR | 216.73.216.37 |
| 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/cz-hiyou.com/haiyou/public |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | /list_16/product/index.html |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=/list_16/product/index.html |
| SCRIPT_FILENAME | /www/wwwroot/cz-hiyou.com/haiyou/public/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1762210036.4929 |
| REQUEST_TIME | 1762210036 |