->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/%E7%A8%B3%E5%AE%9A%E7%BB%86%E8%83%9E%E6%A0%AA%E6%9E%84%E5%BB%BA%E5%B9%B3%E5%8F%B0/index.php |
REDIRECT_STATUS | 200 |
SERVER_NAME | zgbiotech.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.16.1.130 |
REMOTE_PORT | 37332 |
REMOTE_ADDR | 34.237.245.80 |
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/稳定细胞株构建平台/ |
REQUEST_URI | /index.php/2020/08/13/%e7%a8%b3%e5%ae%9a%e7%bb%86%e8%83%9e%e6%a0%aa%e6%9e%84%e5%bb%ba%e5%b9%b3%e5%8f%b0/ |
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/%E7%A8%B3%E5%AE%9A%E7%BB%86%E8%83%9E%E6%A0%AA%E6%9E%84%E5%BB%BA%E5%B9%B3%E5%8F%B0/index.php |
REQUEST_TIME_FLOAT | 1710824934.4128 |
REQUEST_TIME | 1710824934 |