: $this->request->param();
$vars = array_merge($vars, $this->param);
} elseif (is_callable([$instance, '_empty'])) {
// 空操作
$call = [$instance, '_empty'];
$vars = [$this->actionName];
$reflect = new ReflectionMethod($instance, '_empty');
} else {
// 操作不存在
throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');
}
$this->app['hook']->listen('action_begin', $call);
$data = $this->app->invokeReflectMethod($instance, $reflect, $vars);
return $this->autoResponse($data);
});
id | 7 |
USER | apache |
HOME | /usr/share/httpd |
HTTP_X_SINFO | on |
HTTP_X5_UUID | ece8ed39ba52abd2163a8aa6885a6f63 |
HTTP_WL_PROXY_CLIENT_IP | 44.197.238.222 |
HTTP_WEB_SERVER_TYPE | nginx |
HTTP_X_CLIENT_IP | 44.197.238.222 |
HTTP_X_TRUE_IP | 44.197.238.222 |
HTTP_X_FORWARDED_PROTO | https |
HTTP_X_REAL_IP | 44.197.238.222 |
HTTP_EAGLEEYE_RPCID | 0.1 |
HTTP_ACCEPT | */* |
HTTP_EAGLEEYE_TRACEID | 0a099d7a17116872268021826ee6bd |
HTTP_X_FORWARDED_FOR | 44.197.238.222 |
HTTP_USER_AGENT | claudebot |
HTTP_HOST | www.changmugu.com |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.changmugu.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.17.80.165 |
REMOTE_PORT | 50416 |
REMOTE_ADDR | 44.197.238.222 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /usr/share/nginx/html/changmugunew/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /index/index/detail.html?id=7 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//index/index/detail.html&id=7 |
PATH_TRANSLATED | /usr/share/nginx/html/changmugunew/public |
SCRIPT_FILENAME | /usr/share/nginx/html/changmugunew/public/index.php |
PATH_INFO | |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711687226.8037 |
REQUEST_TIME | 1711687226 |