->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) {
// 获取当前操作名
20412 |
DOCUMENT_ROOT | /root/yuandaima/yike/yike/public |
REMOTE_ADDR | 3.237.232.196 |
REMOTE_PORT | 57520 |
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/index.asp?20412 |
REQUEST_METHOD | GET |
SCRIPT_NAME | /onesunsys/images/html/index.asp |
SCRIPT_FILENAME | /root/yuandaima/yike/yike/public/index.php |
PHP_SELF | /onesunsys/images/html/index.asp |
QUERY_STRING | 20412 |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | www.eacogases.com |
REQUEST_TIME_FLOAT | 1711754111.1267 |
REQUEST_TIME | 1711754111 |