$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);
});
}
/**
index/Page/www_fsgmjt_com |
PHPSESSID | 617512d2dc940cc8ebe2675bd02ef5a3 |
USER | www |
HOME | /home/www |
SCRIPT_NAME | /index.php |
REQUEST_URI | /index/Page/www.fsgmjt.com |
QUERY_STRING | index/Page/www.fsgmjt.com |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | index/Page/www.fsgmjt.com |
REDIRECT_URL | /index/Page/www.fsgmjt.com |
REMOTE_PORT | 59596 |
SCRIPT_FILENAME | /www/wwwroot/www/117.50.120.41/public/index.php |
SERVER_ADMIN | webmaster@example.com |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/www/117.50.120.41/public |
CONTEXT_PREFIX | |
REQUEST_SCHEME | https |
DOCUMENT_ROOT | /www/wwwroot/www/117.50.120.41/public |
REMOTE_ADDR | 170.130.7.114 |
SERVER_PORT | 443 |
SERVER_ADDR | 172.17.2.95 |
SERVER_NAME | www.fsgykg.com |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | Apache Server at www.fsgykg.com Port 443 |
LD_LIBRARY_PATH | /www/server/apache/lib |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
HTTP_COOKIE | PHPSESSID=617512d2dc940cc8ebe2675bd02ef5a3 |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.fsgykg.com |
HTTP_USER_AGENT | Mozilla/5.0 (compatible; AhrefsBot/7.0; +http://ahrefs.com/robot/) |
proxy-nokeepalive | 1 |
SSL_TLS_SNI | www.fsgykg.com |
HTTPS | on |
REDIRECT_STATUS | 200 |
REDIRECT_SSL_TLS_SNI | www.fsgykg.com |
REDIRECT_HTTPS | on |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1743768395.4766 |
REQUEST_TIME | 1743768395 |