$this->app['hook']->listen('module_init');
try {
// 实例化控制器
$instance = $this->app->controller($this->controller,
$this->rule->getConfig('url_controller_layer'),
$this->rule->getConfig('controller_suffix'),
$this->rule->getConfig('empty_controller'));
} catch (ClassNotFoundException $e) {
throw new HttpException(404, 'controller not exists:' . $e->getClass());
}
$this->app['middleware']->controller(function (Request $request, $next) use ($instance) {
// 获取当前操作名
$action = $this->actionName . $this->rule->getConfig('action_suffix');
if (is_callable([$instance, $action])) {
// 执行操作方法
$call = [$instance, $action];
think | { "site_info": { "id": 135, "name": "\u5bb6\u5c45\u8fd0\u52a81", "site_url": "www.tvsslive.com", "category_id": 0, "anchor_text_type": 1, "seo_title": "Blogging Opportunities-tvsslive", "seo_description": "The blog provides in-depth coverage of a range of health and wellness topics, including recent scientific research, traditional medicine, and personal experiences. It's written in an approachable and engaging style, making the content easy to understand and put into practice in your daily life. The blog also features interviews with experts and provides resources for further learning.", "news_url_prefix": "news", "sync_status": 1, "sync_time": 0, "sync_news_num": 0, "news_num": 33, "anchor_text_num": 0, "latest_gathering_time": 0, "created_at": "2023-11-20 11:43:56", "updated_at": "2023-11-20 11:43:56", "deleted_at": 0, "gathering_news_num": 0, "is_complex": 2, "template_id": 2, "is_gathering_timing_update": 2, "gathering_day_update_num": 30, "query_record_time": 1711386014, "record_num": "44,65,61,36,41", "record_median_num": "44", "record_rate": "63.77", "cycle_status": 2, "html_cache": 1, "number": "", "group": "3" } } |
USER | www |
HOME | /home/www |
HTTP_REFERER | https://tvsslive.com/norwichvsnewcastlestream/ |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.tvsslive.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | tvsslive.com |
SERVER_PORT | 443 |
SERVER_ADDR | 154.9.25.69 |
REMOTE_PORT | 46460 |
REMOTE_ADDR | 3.231.217.209 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/xbblogshow/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /norwichvsnewcastlestream/ |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/norwichvsnewcastlestream/ |
SCRIPT_FILENAME | /www/wwwroot/xbblogshow/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711725638.5463 |
REQUEST_TIME | 1711725638 |