->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) {
// 获取当前操作名
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | zgbiotech.com |
PATH_INFO | /2020/08/13/%E6%8B%9B%E8%81%98%E5%B2%97%E4%BD%8D-%E9%AA%8C%E8%AF%81qa%E5%B7%A5%E7%A8%8B%E5%B8%88%EF%BC%88%E4%B8%B4%E6%B8%AF%EF%BC%89/index.php |
REDIRECT_STATUS | 200 |
SERVER_NAME | zgbiotech.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.16.1.130 |
REMOTE_PORT | 57898 |
REMOTE_ADDR | 44.213.99.37 |
SERVER_SOFTWARE | nginx/1.20.2 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/zgbiotech.com/public |
DOCUMENT_URI | /index.php/2020/08/13/招聘岗位-验证qa工程师(临港)/ |
REQUEST_URI | /index.php/2020/08/13/%e6%8b%9b%e8%81%98%e5%b2%97%e4%bd%8d-%e9%aa%8c%e8%af%81qa%e5%b7%a5%e7%a8%8b%e5%b8%88%ef%bc%88%e4%b8%b4%e6%b8%af%ef%bc%89/ |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | |
SCRIPT_FILENAME | /www/wwwroot/zgbiotech.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php/2020/08/13/%E6%8B%9B%E8%81%98%E5%B2%97%E4%BD%8D-%E9%AA%8C%E8%AF%81qa%E5%B7%A5%E7%A8%8B%E5%B8%88%EF%BC%88%E4%B8%B4%E6%B8%AF%EF%BC%89/index.php |
REQUEST_TIME_FLOAT | 1710830449.5626 |
REQUEST_TIME | 1710830449 |