->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) {
// 获取当前操作名
d3d3OTk3NzU1Y29u_html |
PHPSESSID | 26f9d308ac06bd98047dfdcbe297556f |
USER | www |
HOME | /home/www |
SCRIPT_NAME | /index.php |
REQUEST_URI | /d3d3OTk3NzU1Y29u.html |
QUERY_STRING | d3d3OTk3NzU1Y29u.html |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | d3d3OTk3NzU1Y29u.html |
REDIRECT_URL | /d3d3OTk3NzU1Y29u.html |
REMOTE_PORT | 37170 |
SCRIPT_FILENAME | /www/wwwroot/www/117.50.120.41/public/index.php |
SERVER_ADMIN | webmaster@example.com |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/www/117.50.120.41/public |
CONTEXT_PREFIX | |
REQUEST_SCHEME | http |
DOCUMENT_ROOT | /www/wwwroot/www/117.50.120.41/public |
REMOTE_ADDR | 45.38.154.98 |
SERVER_PORT | 80 |
SERVER_ADDR | 10.61.184.243 |
SERVER_NAME | www.fsgykg.com |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | Apache Server at www.fsgykg.com Port 80 |
LD_LIBRARY_PATH | /www/server/apache/lib |
PATH | /sbin:/usr/sbin:/bin:/usr/bin |
HTTP_COOKIE | PHPSESSID=26f9d308ac06bd98047dfdcbe297556f |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.fsgykg.com |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
proxy-nokeepalive | 1 |
REDIRECT_STATUS | 200 |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1714152690.6044 |
REQUEST_TIME | 1714152690 |