->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/03/22/%E8%87%BB%E6%A0%BC%E7%94%9F%E7%89%A9b%E8%BD%AE%E8%9E%8D%E8%B5%84/index.php |
REDIRECT_STATUS | 200 |
SERVER_NAME | zgbiotech.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.16.1.130 |
REMOTE_PORT | 50202 |
REMOTE_ADDR | 54.157.61.194 |
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/03/22/臻格生物b轮融资/ |
REQUEST_URI | /index.php/2021/03/22/%E8%87%BB%E6%A0%BC%E7%94%9F%E7%89%A9b%E8%BD%AE%E8%9E%8D%E8%B5%84/ |
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/03/22/%E8%87%BB%E6%A0%BC%E7%94%9F%E7%89%A9b%E8%BD%AE%E8%9E%8D%E8%B5%84/index.php |
REQUEST_TIME_FLOAT | 1710851287.4984 |
REQUEST_TIME | 1710851287 |