: $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 | 362 |
USER | www |
HOME | /home/www |
HTTP_HOST | www.translinks.cn |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.translinks.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 172.17.255.230 |
REMOTE_PORT | 42090 |
REMOTE_ADDR | 3.87.11.93 |
SERVER_SOFTWARE | nginx/1.20.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.translinks.cn/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /index.php?s=index/show/index&id=362 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=index/show/index&id=362 |
SCRIPT_FILENAME | /www/wwwroot/www.translinks.cn/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711704712.2521 |
REQUEST_TIME | 1711704712 |
FILTER_VALIDATE_BOOL | 258 |