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