: $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);
});
type | 1 |
USER | www |
HOME | /home/www |
SCRIPT_NAME | /index.php |
REQUEST_URI | /index/index/new.html?type=1 |
QUERY_STRING | s=/index/index/new.html&type=1 |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | s=/index/index/new.html&type=1 |
REDIRECT_URL | /index/index/new.html |
REMOTE_PORT | 45900 |
SCRIPT_FILENAME | /www/wwwroot/www.public-tech.com/public/index.php |
SERVER_ADMIN | webmaster@example.com |
CONTEXT_DOCUMENT_ROOT | /www/wwwroot/www.public-tech.com/public |
CONTEXT_PREFIX | |
REQUEST_SCHEME | https |
DOCUMENT_ROOT | /www/wwwroot/www.public-tech.com/public |
REMOTE_ADDR | 170.130.202.122 |
SERVER_PORT | 443 |
SERVER_ADDR | 172.17.251.231 |
SERVER_NAME | www.public-tech.com |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | Apache Server at www.public-tech.com Port 443 |
LD_LIBRARY_PATH | /www/server/apache/lib |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.public-tech.com |
HTTP_USER_AGENT | meta-externalagent/1.1 (+https://developers.facebook.com/docs/sharing/webmasters/crawler) |
proxy-nokeepalive | 1 |
SSL_TLS_SNI | www.public-tech.com |
HTTPS | on |
SCRIPT_URI | /index/index/new.html |
SCRIPT_URL | /index/index/new.html |
REDIRECT_STATUS | 200 |
REDIRECT_SSL_TLS_SNI | www.public-tech.com |
REDIRECT_HTTPS | on |
REDIRECT_SCRIPT_URI | /index/index/new.html |
REDIRECT_SCRIPT_URL | /index/index/new.html |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1728022084.5891 |
REQUEST_TIME | 1728022084 |
APP_PATH | /www/wwwroot/www.public-tech.com/public/../project/ |
QR_MODE_NUL | -1 |
QR_MODE_NUM | 0 |
QR_MODE_AN | 1 |
QR_MODE_8 | 2 |
QR_MODE_KANJI | 3 |
QR_MODE_STRUCTURE | 4 |
QR_ECLEVEL_L | 0 |
QR_ECLEVEL_M | 1 |
QR_ECLEVEL_Q | 2 |
QR_ECLEVEL_H | 3 |
QR_FORMAT_TEXT | 0 |
QR_FORMAT_PNG | 1 |
QR_CACHEABLE | false |
QR_CACHE_DIR | false |
QR_LOG_DIR | false |
QR_FIND_BEST_MASK | true |
QR_FIND_FROM_RANDOM | 2 |
QR_DEFAULT_MASK | 2 |
QR_PNG_MAXIMUM_SIZE | 1024 |
QRSPEC_VERSION_MAX | 40 |
QRSPEC_WIDTH_MAX | 177 |
QRCAP_WIDTH | 0 |
QRCAP_WORDS | 1 |
QRCAP_REMINDER | 2 |
QRCAP_EC | 3 |
QR_IMAGE | true |
STRUCTURE_HEADER_BITS | 20 |
MAX_STRUCTURED_SYMBOLS | 16 |
N1 | 3 |
N2 | 3 |
N3 | 40 |
N4 | 10 |