->setAction($this->actionName);}public function exec(){try {// 实例化控制器$instance = $this->controller($this->controller);} catch (ClassNotFoundException $e) {throw new HttpException(404, 'controller not exists:' . $e->getClass());}// 注册控制器中间件$this->registerControllerMiddleware($instance);return $this->app->middleware->pipeline('controller')->send($this->request)->then(function () use ($instance) {// 获取当前操作名
| _wtsexp | 1761278455 |
| _wtscpk | 6214bd85a2 |
| _wtsuid | 3a606fcc-341c-468a-a41b-c11b5b622a02 |
| _wtspurl | /test.php |
| admin_hkcms_lang | zh-cn |
| HKCMSSESSID | 467962b836513e048df0431bc5d79ac2 |
| index_hkcms_lang | zh-cn |
| old_index_hkcms_lang | zh-cn |
| USER | weitongda |
| HOME | /home/wwwroot/weitongda |
| SCRIPT_NAME | /index.php |
| REQUEST_URI | /en |
| QUERY_STRING | |
| REQUEST_METHOD | GET |
| SERVER_PROTOCOL | HTTP/1.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REDIRECT_URL | /en |
| REMOTE_PORT | 50532 |
| SCRIPT_FILENAME | /home/wwwroot/weitongda/wwwroot/public/index.php |
| SERVER_ADMIN | [no address given] |
| CONTEXT_DOCUMENT_ROOT | /home/wwwroot/weitongda/wwwroot/public |
| CONTEXT_PREFIX | |
| REQUEST_SCHEME | http |
| DOCUMENT_ROOT | /home/wwwroot/weitongda/wwwroot/public |
| REMOTE_ADDR | 107.158.144.114 |
| SERVER_PORT | 80 |
| SERVER_ADDR | 127.0.0.1 |
| SERVER_NAME | www.vitalstar.com.cn |
| SERVER_SOFTWARE | Apache |
| SERVER_SIGNATURE | |
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| HTTP_COOKIE | _wtsexp=1761278455; _wtscpk=6214bd85a2; _wtsuid=3a606fcc-341c-468a-a41b-c11b5b622a02; _wtspurl=/test.php; admin_hkcms_lang=zh-cn; HKCMSSESSID=467962b836513e048df0431bc5d79ac2; index_hkcms_lang=zh-cn; old_index_hkcms_lang=zh-cn |
| HTTP_ACCEPT | */* |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_X_FORWARDED_PROTO | https |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_SSL_FLAG | SSL |
| HTTP_FROM_HTTPS | on |
| HTTP_CONNECTION | close |
| HTTP_HOST | www.vitalstar.com.cn |
| HTTP_X_REAL_IP | 122.114.57.113 |
| HTTP_X_FORWARDED_FOR | 107.158.144.114 |
| proxy-nokeepalive | 1 |
| REDIRECT_STATUS | 200 |
| REDIRECT_PATH_INFO | en |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1761768528.8675 |
| REQUEST_TIME | 1761768528 |