->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) {
// 获取当前操作名
node | -1 |
keyword | 硼≥20% |
USER | www |
HOME | /home/www |
HTTP_REFERER | http://51fsw.com/Search/SearchList?node=-1&keyword=%e7%a1%bc%e2%89%a520%25 |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | 51fsw.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.51fsw.com |
SERVER_PORT | 443 |
SERVER_ADDR | 10.0.12.4 |
REMOTE_PORT | 44298 |
REMOTE_ADDR | 54.144.219.156 |
SERVER_SOFTWARE | nginx/1.20.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/nzstore/public/www |
DOCUMENT_URI | /index.php |
REQUEST_URI | /Search/SearchList?node=-1&keyword=%e7%a1%bc%e2%89%a520%25 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/Search/SearchList&node=-1&keyword=%e7%a1%bc%e2%89%a520%25 |
SCRIPT_FILENAME | /www/wwwroot/nzstore/public/www/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711728024.9223 |
REQUEST_TIME | 1711728024 |