$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": 131, "name": "\u533b\u836f1", "site_url": "www.jtcmed.com", "category_id": 0, "anchor_text_type": 1, "seo_title": "JTCMED: Your Source for Reliable Medical Information", "seo_description": "The JTCMED blog is a trusted source of medical information and health tips. It provides up-to-date news, personal experiences, and expert advice to help readers make informed decisions about their health. Readers can learn about a wide range of medical topics, including common diseases, healthy living, and alternative treatments.", "news_url_prefix": "blogs", "sync_status": 1, "sync_time": 0, "sync_news_num": 0, "news_num": 8, "anchor_text_num": 0, "latest_gathering_time": 0, "created_at": "2023-11-20 11:30:44", "updated_at": "2023-11-20 11:30:44", "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": 1711386013, "record_num": "99,40,56,30,58", "record_median_num": "56", "record_rate": "64.37", "cycle_status": 2, "html_cache": 1, "number": "", "group": "1" } } |
USER | www |
HOME | /home/www |
HTTP_REFERER | https://jtcmed.com/zaya/ieunbt.html |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.jtcmed.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | jtcmed.com |
SERVER_PORT | 443 |
SERVER_ADDR | 154.9.25.69 |
REMOTE_PORT | 58962 |
REMOTE_ADDR | 44.210.120.182 |
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 | /zaya/ieunbt.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/zaya/ieunbt.html |
SCRIPT_FILENAME | /www/wwwroot/xbblogshow/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711409.0524 |
REQUEST_TIME | 1711711409 |