->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 | /2021/07/06/qc%E7%94%9F%E5%8C%96%E5%BE%AE%E7%94%9F%E7%89%A9%E7%A0%94%E7%A9%B6%E5%91%98/index.php |
REDIRECT_STATUS | 200 |
SERVER_NAME | zgbiotech.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.16.1.130 |
REMOTE_PORT | 57318 |
REMOTE_ADDR | 44.202.90.91 |
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/2021/07/06/qc生化微生物研究员/ |
REQUEST_URI | /index.php/2021/07/06/qc%e7%94%9f%e5%8c%96%e5%be%ae%e7%94%9f%e7%89%a9%e7%a0%94%e7%a9%b6%e5%91%98/ |
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/2021/07/06/qc%E7%94%9F%E5%8C%96%E5%BE%AE%E7%94%9F%E7%89%A9%E7%A0%94%E7%A9%B6%E5%91%98/index.php |
REQUEST_TIME_FLOAT | 1711627195.0367 |
REQUEST_TIME | 1711627195 |