->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 | e7d2002ab04e640fc2d4aa4068354cfc |
USER | www |
HOME | /home/www |
HTTP_COOKIE | PHPSESSID=e7d2002ab04e640fc2d4aa4068354cfc |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) |
HTTP_X_FORWARDED_PORT | 9080 |
HTTP_X_FORWARDED_HOST | www.zs-meta.com |
HTTP_X_FORWARDED_PROTO | https |
HTTP_X_FORWARDED_FOR | 107.158.193.210, 172.23.0.1 |
HTTP_X_REAL_IP | 172.23.0.1 |
HTTP_HOST | www.zs-meta.com |
REDIRECT_STATUS | 200 |
SERVER_NAME | _ |
SERVER_PORT | 80 |
SERVER_ADDR | 172.17.0.5 |
REMOTE_PORT | 45820 |
REMOTE_ADDR | 172.16.53.96 |
SERVER_SOFTWARE | nginx/1.22.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /home/wwwroot/www-zswl/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /key.74jhk82ze.do |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//key.74jhk82ze.do |
SCRIPT_FILENAME | /home/wwwroot/www-zswl/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711723078.4926 |
REQUEST_TIME | 1711723078 |