: $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);
});
index | { "site": { "id": 1, "title": "Piececool Innovative Metal Works, Piececool Model Toys", "logo": "upload\/logo\/20191203\/475d75af0051892128313ffa45889085.png", "keywords": "Metal puzzle, Metal model, 3D puzzle, Metal assembled model, Metal DIY, Metal model toy, Creative gift & decoration", "description": "Piececool is the most creative and innovative metal DIY brand in China! Since the first metal model was released in China in 2014, Piececool metal DIY model has showed its shiny metal, visual art, lively details, original design idea, precise structure, and creative DIY assembly method to give the fun of assembly, artwork display and collection sharing to so many fans of model toys.", "company": "Wist Plastic & Metal Technology Limited.", "address": "No.5 Tangchun Jinfu Road, Liaobu Town, Dongguan, Guangdong.", "icp": "\u7ca4ICP\u590712065181\u53f7-3", "create_time": null, "update_time": "2019-12-03 11:19:47", "delete_time": 0 } } |
USER | www |
HOME | /home/www |
FCGI_ROLE | RESPONDER |
SCRIPT_FILENAME | /www/wwwroot/en/public/index.php |
QUERY_STRING | s=/en/index/product/info/id/275.html |
REQUEST_METHOD | GET |
CONTENT_TYPE | |
CONTENT_LENGTH | |
SCRIPT_NAME | /index.php |
REQUEST_URI | /en/index/product/info/id/275.html |
DOCUMENT_URI | /index.php |
DOCUMENT_ROOT | /www/wwwroot/en/public |
SERVER_PROTOCOL | HTTP/1.0 |
REQUEST_SCHEME | http |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_SOFTWARE | nginx/1.20.2 |
REMOTE_ADDR | 39.108.60.13 |
REMOTE_PORT | 59642 |
SERVER_ADDR | 172.18.27.203 |
SERVER_PORT | 80 |
SERVER_NAME | en.piececool.com |
REDIRECT_STATUS | 200 |
PATH_INFO | |
HTTP_X_FORWARDED_FOR | 3.83.32.226 |
HTTP_HOST | en.piececool.com |
HTTP_CONNECTION | close |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | claudebot |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711687500.1324 |
REQUEST_TIME | 1711687500 |
SYS_FILES_PATH | /www/wwwroot/en/ |
APP_PATH | /www/wwwroot/en/application/ |
APP_CONFIG | config/ |
APP_LANG | lang/ |
IN_PIECECOOL | true |
ROOT_PATH | /www/wwwroot/en/ |
DS | / |
IN_UPLOAD_MAX_FILE | 50M |
IN_UPLOAD_MAX_FILESIZE | 52428800 |
IN_POST_MAX | 50M |
IN_POST_MAX_SIZE | 52428800 |
APP_MODULE | index |
APP_CONTROLLER | index |
APP_ACTION | product |
APP_AGENT | claudebot |
ROOT_DIR | / |
APP_MODULE_LINK | /index |
ROOT_NAME | |
STATIC_NAME | static |
UPLOAD_NAME | upload |
ADMIN_USER_NAME | userinfo |
UPLOAD_PATH | upload |
UPLOAD_PREFIX_NAME | / |
ADMIN_USER_SESSION_NAME | userinfo |
APP_PUBLIC_NAME_R | public |
UPLOAD_EDITOR_NAME | editor |
APP_ADMIN_PATH_INFO | aid |