$this->request->setAction($actionName);
} catch (ReflectionException $e) {
$reflect = new ReflectionMethod($instance, '__call');
$vars = [$action, $vars];
$this->request->setAction($action);
}
} else {
// 操作不存在
throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');
}
$data = $this->app->invokeReflectMethod($instance, $reflect, $vars);
return $this->autoResponse($data);
});
}
/**
ADMIN_ID | e13d9403ba120a4b4f7169ef0acb0481e8f4efb3 |
PHPSESSID | 8c3718993739809bee9fdde08cf6b597 |
n75 | 1 |
n74 | 1 |
n51 | 1 |
__token__ | 298e4e9957c27ee2ed49aad77865a266 |
n70 | 1 |
n73 | 1 |
n56 | 1 |
n45 | 1 |
n40 | 1 |
USER | www |
HOME | /home/www |
HTTP_COOKIE | ADMIN_ID=e13d9403ba120a4b4f7169ef0acb0481e8f4efb3; PHPSESSID=8c3718993739809bee9fdde08cf6b597 |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.scaura.cn |
HTTP_USER_AGENT | claudebot |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | scaura.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 119.147.152.65 |
REMOTE_PORT | 59612 |
REMOTE_ADDR | 23.231.77.98 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/scauracn/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /news/2056.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/news/2056.html |
SCRIPT_FILENAME | /www/wwwroot/scauracn/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711723127.3666 |
REQUEST_TIME | 1711723127 |