$this->request->setAction($actionName);
} catch (ReflectionException $e) {
$reflect = new ReflectionMethod($instance, '__call');
$vars = [$action, $vars];
$this->request->setAction($action);
}
} else {
// 操作不存在
throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');
}
$data = $this->app->invokeReflectMethod($instance, $reflect, $vars);
return $this->autoResponse($data);
});
}
/**
from_url | https://www.huixx.cn/index/index/content.html/type/2.html |
USER | www |
HOME | /home/www |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.huixx.cn |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.huixx.cn |
SERVER_PORT | 443 |
SERVER_ADDR | 172.19.112.94 |
REMOTE_PORT | 55816 |
REMOTE_ADDR | 54.243.2.41 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/hcc.vshop365.cn/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /index/index/content.html/type/2.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//index/index/content.html/type/2.html |
SCRIPT_FILENAME | /www/wwwroot/hcc.vshop365.cn/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711662971.9742 |
REQUEST_TIME | 1711662971 |