: $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);
});
think | { "start": "1" } |
USER | www |
HOME | /home/www |
HTTP_HOST | bj.gxwedu.net |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.gxwedu.net |
SERVER_PORT | 80 |
SERVER_ADDR | 58.49.151.70 |
REMOTE_PORT | 58040 |
REMOTE_ADDR | 44.204.217.37 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.gxwedu.net/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /detail/13249.htm |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/detail/13249.htm |
SCRIPT_FILENAME | /www/wwwroot/www.gxwedu.net/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711733.9103 |
REQUEST_TIME | 1711711733 |
APP_PATH | /www/wwwroot/www.gxwedu.net/public\..\application\ |
BASE_PATH | /www/wwwroot/www.gxwedu.net/public\ |
LOG_PATH | /www/wwwroot/www.gxwedu.net/public/../runtime/log/ |
PINYIN_DEFAULT | 4096 |
PINYIN_TONE | 2 |
PINYIN_NO_TONE | 4 |
PINYIN_ASCII_TONE | 8 |
PINYIN_NAME | 16 |
PINYIN_KEEP_NUMBER | 32 |
PINYIN_KEEP_ENGLISH | 64 |
PINYIN_UMLAUT_V | 128 |
PINYIN_KEEP_PUNCTUATION | 256 |
CID | 110000 |
CNAME | 北京 |