: $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);
});
key |
PHPSESSID | tlrm0f9uvfdadh65esfk4k2h34 |
think | { "last_url": "http:\/\/www.100-yl.com\/product642800.html" } |
REDIRECT_REDIRECT_UNIQUE_ID | ZXatFTwyTg7bvunp2OHQMAAAAAM |
REDIRECT_REDIRECT_PHPRC | /home/100yl8130a0ryml/others |
REDIRECT_REDIRECT_STATUS | 200 |
REDIRECT_UNIQUE_ID | ZXatFTwyTg7bvunp2OHQMAAAAAM |
REDIRECT_PHPRC | /home/100yl8130a0ryml/others |
REDIRECT_HANDLER | php-cgi |
REDIRECT_STATUS | 200 |
UNIQUE_ID | ZXatFTwyTg7bvunp2OHQMAAAAAM |
PHPRC | /home/100yl8130a0ryml/others |
HTTP_X_FORWARDED_FOR | 170.130.201.38 |
HTTP_X_REAL_IP | 170.130.201.38 |
HTTP_HOST | www.100-yl.com |
HTTP_CONNECTION | close |
HTTP_USER_AGENT | CCBot/2.0 (https://commoncrawl.org/faq/) |
HTTP_ACCEPT | */* |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_COOKIE | PHPSESSID=tlrm0f9uvfdadh65esfk4k2h34 |
PATH | /sbin:/usr/sbin:/bin:/usr/bin |
SERVER_SIGNATURE | Apache Server at www.100-yl.com Port 80 |
SERVER_SOFTWARE | Apache |
SERVER_NAME | www.100-yl.com |
SERVER_ADDR | 127.0.0.1 |
SERVER_PORT | 80 |
REMOTE_ADDR | 170.130.201.38 |
DOCUMENT_ROOT | /home/100yl8130a0ryml/wwwroot/public |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | /php-run-as-cgi |
CONTEXT_DOCUMENT_ROOT | /usr/php5.6/bin |
SERVER_ADMIN | webmaster@100yl |
SCRIPT_FILENAME | /home/100yl8130a0ryml/wwwroot/public/index.php |
REMOTE_PORT | 48810 |
REDIRECT_URL | /index.php/product.html |
REDIRECT_QUERY_STRING | key= |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.0 |
REQUEST_METHOD | GET |
QUERY_STRING | key= |
REQUEST_URI | /product.html?key= |
SCRIPT_NAME | /index.php |
PATH_INFO | /product.html |
PATH_TRANSLATED | /home/100yl8130a0ryml/wwwroot/public/product.html |
ORIG_PATH_INFO | /index.php/product.html |
ORIG_SCRIPT_NAME | /php-run-as-cgi/php-cgi |
ORIG_SCRIPT_FILENAME | /usr/php5.6/bin/php-cgi |
ORIG_PATH_TRANSLATED | /home/100yl8130a0ryml/wwwroot/public/index.php/product.html |
PHP_SELF | /index.php/product.html |
REQUEST_TIME_FLOAT | 1702276373.6211 |
REQUEST_TIME | 1702276373 |
DS | / |
ROOT_PATH | /home/100yl8130a0ryml/wwwroot/ |
APP_PATH | /home/100yl8130a0ryml/wwwroot/app/ |
WWW_ROOT | /home/100yl8130a0ryml/wwwroot/public/ |
WOO_PATH | /home/100yl8130a0ryml/wwwroot/woo/ |
ADDONS_PATH | /home/100yl8130a0ryml/wwwroot/addons/ |
APP_CACHE_DIR | /home/100yl8130a0ryml/wwwroot/data/cache/ |
SMARTY_DIR | /home/100yl8130a0ryml/wwwroot/include/smarty-3.1.27/libs/ |
SMARTY_SYSPLUGINS_DIR | /home/100yl8130a0ryml/wwwroot/include/smarty-3.1.27/libs/sysplugins/ |
SMARTY_PLUGINS_DIR | /home/100yl8130a0ryml/wwwroot/include/smarty-3.1.27/libs/plugins/ |
SMARTY_MBSTRING | true |
SMARTY_RESOURCE_CHAR_SET | UTF-8 |
SMARTY_RESOURCE_DATE_FORMAT | %b %e, %Y |
SMARTY_SPL_AUTOLOAD | 0 |