$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": 145, "name": "\u7535\u5b508", "site_url": "www.gvlelectro.com", "category_id": 0, "anchor_text_type": 1, "seo_title": "gvlelectro: Amplifying Tech Trends", "seo_description": "Dive into the dynamic world of technology with gvlelectro. Explore cutting-edge gadgets, insightful reviews, and stay ahead in the tech-savvy landscape. Join us in unraveling electronic marvels!", "news_url_prefix": "blogs", "sync_status": 1, "sync_time": 0, "sync_news_num": 0, "news_num": 9, "anchor_text_num": 0, "latest_gathering_time": 0, "created_at": "2023-12-12 10:37:49", "updated_at": "2023-12-12 10:37:49", "deleted_at": 0, "gathering_news_num": 0, "is_complex": 2, "template_id": 1, "is_gathering_timing_update": 2, "gathering_day_update_num": 30, "query_record_time": 1711386014, "record_num": "22,21,10,10,9", "record_median_num": "10", "record_rate": "12.2", "cycle_status": 2, "html_cache": 1, "number": "", "group": "4" } } |
USER | www |
HOME | /home/www |
HTTP_REFERER | http://www.gvlelectro.com/electrical-contractors-engineering-service.html |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.gvlelectro.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | gvlelectro.com |
SERVER_PORT | 443 |
SERVER_ADDR | 154.9.25.69 |
REMOTE_PORT | 50442 |
REMOTE_ADDR | 18.212.87.137 |
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 | /electrical-contractors-engineering-service.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/electrical-contractors-engineering-service.html |
SCRIPT_FILENAME | /www/wwwroot/xbblogshow/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711676736.7974 |
REQUEST_TIME | 1711676736 |