$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);
});
}
protected function parseActions($actions)
admin_hkcms_lang | zh-cn |
HKCMSSESSID | 8f5504f62ae0b847002b9488b1830b07 |
index_hkcms_lang | zh-cn |
old_index_hkcms_lang | zh-cn |
PHPSESSID | 0k1rjbhkdgu78hqk33ub04hsrb |
token34 | 078b0874ee760ec4785c713e178027b4 |
token77 | a06aa43010621943512a496952082e62 |
USER | weitongda |
HOME | /home/wwwroot/weitongda |
SCRIPT_NAME | /index.php |
REQUEST_URI | /index/platform_info.php |
QUERY_STRING | |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_URL | /index/platform_info.php |
REMOTE_PORT | 44174 |
SCRIPT_FILENAME | /home/wwwroot/weitongda/wwwroot/public/index.php |
SERVER_ADMIN | [no address given] |
CONTEXT_DOCUMENT_ROOT | /home/wwwroot/weitongda/wwwroot/public |
CONTEXT_PREFIX | |
REQUEST_SCHEME | http |
DOCUMENT_ROOT | /home/wwwroot/weitongda/wwwroot/public |
REMOTE_ADDR | 107.158.144.114 |
SERVER_PORT | 80 |
SERVER_ADDR | 127.0.0.1 |
SERVER_NAME | www.vitalstar.com.cn |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
HTTP_COOKIE | admin_hkcms_lang=zh-cn; HKCMSSESSID=8f5504f62ae0b847002b9488b1830b07; index_hkcms_lang=zh-cn; old_index_hkcms_lang=zh-cn; PHPSESSID=0k1rjbhkdgu78hqk33ub04hsrb |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.69 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) |
HTTP_X_FORWARDED_PROTO | https |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_SSL_FLAG | SSL |
HTTP_FROM_HTTPS | on |
HTTP_CONNECTION | close |
HTTP_HOST | www.vitalstar.com.cn |
HTTP_X_REAL_IP | 122.114.57.113 |
HTTP_X_FORWARDED_FOR | 107.158.144.114 |
proxy-nokeepalive | 1 |
REDIRECT_STATUS | 200 |
REDIRECT_PATH_INFO | index/platform_info.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1731873545.1493 |
REQUEST_TIME | 1731873545 |