->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) {
// 获取当前操作名
| PHPSESSID | e50385858993477cd0965dfed069a8a3 | 
| USER | www | 
| HOME | /home/www | 
| HTTP_CONNECTION | keep-alive | 
| HTTP_CACHE_CONTROL | max-age=259200 | 
| HTTP_X_FORWARDED_FOR | 10.3.124.74 | 
| HTTP_VIA | 1.1 squid-proxy-5b5d847c96-p556r (squid/6.10) | 
| HTTP_HOST | wx.sndxsw.cn | 
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate | 
| HTTP_COOKIE | PHPSESSID=e50385858993477cd0965dfed069a8a3 | 
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) | 
| HTTP_ACCEPT | */* | 
| PATH_INFO | |
| REDIRECT_STATUS | 200 | 
| SERVER_NAME | wx.sndxsw.cn | 
| SERVER_PORT | 80 | 
| SERVER_ADDR | 10.0.16.16 | 
| REMOTE_PORT | 62955 | 
| REMOTE_ADDR | 216.73.216.134 | 
| SERVER_SOFTWARE | nginx/1.19.8 | 
| GATEWAY_INTERFACE | CGI/1.1 | 
| REQUEST_SCHEME | http | 
| SERVER_PROTOCOL | HTTP/1.1 | 
| DOCUMENT_ROOT | /www/wwwroot/wx.sndxsw.cn/public | 
| DOCUMENT_URI | /index.php | 
| REQUEST_URI | /index/list/6.html | 
| SCRIPT_NAME | /index.php | 
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET | 
| QUERY_STRING | s=/index/list/6.html | 
| SCRIPT_FILENAME | /www/wwwroot/wx.sndxsw.cn/public/index.php | 
| FCGI_ROLE | RESPONDER | 
| PHP_SELF | /index.php | 
| REQUEST_TIME_FLOAT | 1761894975.8018 | 
| REQUEST_TIME | 1761894975 |