: $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);
});
id | 37 |
REDIRECT_PATH_INFO | index/product/detail.html |
REDIRECT_STATUS | 200 |
HTTP_USER_AGENT | Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) |
HTTP_HOST | www.xinnongcloud.com |
HTTP_ACCEPT | */* |
HTTP_ACCEPT_ENCODING | gzip |
PATH | C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\VisualSVN Server\bin;D:\ffmpeg\bin;D:\wamp64\bin\php\php5.6.31;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;D:\Git\nssm\win64;C:\Program Files\erl-23.3\bin; |
SystemRoot | C:\Windows |
COMSPEC | C:\Windows\system32\cmd.exe |
PATHEXT | .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC |
WINDIR | C:\Windows |
SERVER_SIGNATURE | Apache/2.4.27 (Win64) OpenSSL/1.1.0f PHP/5.6.31 Server at www.xinnongcloud.com Port 80 |
SERVER_SOFTWARE | Apache/2.4.27 (Win64) OpenSSL/1.1.0f PHP/5.6.31 |
SERVER_NAME | www.xinnongcloud.com |
SERVER_ADDR | 172.17.245.125 |
SERVER_PORT | 80 |
REMOTE_ADDR | 172.120.77.42 |
DOCUMENT_ROOT | D:/wamp64/vhost/www.xinnongcloud.com/public |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | D:/wamp64/vhost/www.xinnongcloud.com/public |
SERVER_ADMIN | wampserver@wampserver.invalid |
SCRIPT_FILENAME | D:/wamp64/vhost/www.xinnongcloud.com/public/index.php |
REMOTE_PORT | 60614 |
REDIRECT_URL | /index/product/detail.html |
REDIRECT_QUERY_STRING | id=37 |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | id=37 |
REQUEST_URI | /index/product/detail.html?id=37 |
SCRIPT_NAME | /index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1652687983.019 |
REQUEST_TIME | 1652687983 |