: $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);
});
USER | www |
HOME | /home/www |
HTTP_HOST | www.baigousteel.com |
HTTP_REFERER | http://baigousteel.com/api/index/company_register.html |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | baigousteel.com |
SERVER_PORT | 80 |
SERVER_ADDR | 211.149.141.159 |
REMOTE_PORT | 44184 |
REMOTE_ADDR | 34.201.37.128 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /home/www/baigousteel/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /api/index/company_register.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/api/index/company_register.html |
SCRIPT_FILENAME | /home/www/baigousteel/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711618313.2611 |
REQUEST_TIME | 1711618313 |
APP_DEBUG | 1 |
CMF_ROOT | /home/www/baigousteel/ |
CMF_DATA | /home/www/baigousteel/data/ |
APP_PATH | /home/www/baigousteel/app/ |
WEB_ROOT | /home/www/baigousteel/public/ |
HTMLPURIFIER_PREFIX | /home/www/baigousteel/vendor/ezyang/htmlpurifier/library |