->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) {
// 获取当前操作名
64532 |
DOCUMENT_ROOT | /root/yuandaima/yike/yike/public |
REMOTE_ADDR | 44.214.106.184 |
REMOTE_PORT | 56340 |
SERVER_SOFTWARE | PHP 7.3.33 Development Server |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_NAME | 0.0.0.0 |
SERVER_PORT | 80 |
REQUEST_URI | /onesunsys/images/html/?64532 |
REQUEST_METHOD | GET |
SCRIPT_NAME | /index.php |
SCRIPT_FILENAME | /root/yuandaima/yike/yike/public/index.php |
PATH_INFO | /onesunsys/images/html/ |
PHP_SELF | /index.php/onesunsys/images/html/ |
QUERY_STRING | 64532 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | www.eacogases.com |
REQUEST_TIME_FLOAT | 1711695792.0687 |
REQUEST_TIME | 1711695792 |