SHOW FULL COLUMNS FROM `gk_hook` [ RunTime:0.000735s ]
SELECT `hook`,`id` FROM `gk_hook` WHERE ( ( `app` = '' OR `app` = 'cmf' ) AND `type` = 3 ) OR `type` = 1 [ RunTime:0.001533s ]
SHOW FULL COLUMNS FROM `gk_hook_plugin` [ RunTime:0.000387s ]
SELECT `hook`,`plugin` FROM `gk_hook_plugin` WHERE `status` = 1 AND `hook` IN ('app_begin','module_init','action_begin','view_filter','app_end','log_write','response_end','admin_init','home_init','send_mobile_verification_code','body_start','before_head_end','footer_start','before_footer','before_footer_end','before_body_end','left_sidebar_start','before_left_sidebar_end','right_sidebar_start','before_right_sidebar_end','comment','guestbook','switch_theme','after_content','before_content','log_write_done','switch_admin_theme','captcha_image','user_login_start') ORDER BY `list_order` ASC [ RunTime:0.001309s ]
SHOW FULL COLUMNS FROM `gk_school` [ RunTime:0.000815s ]
SELECT `post`.* FROM `gk_school` `post` WHERE `post`.`id` = '2816' AND ( `post`.`published_time` >= '0' AND `post`.`published_time` < '1746519250' ) LIMIT 1 [ RunTime:0.004824s ]
UPDATE `gk_school` SET `hits` = `hits` + 1 WHERE `id` = 2816 [ RunTime:0.003153s ]
SHOW FULL COLUMNS FROM `gk_theme_file` [ RunTime:0.000646s ]
SELECT * FROM `gk_theme_file` WHERE `theme` = 't1' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.001923s ]
SELECT `more`,`file`,`id` FROM `gk_theme_file` WHERE `theme` = 't1' AND ( `is_public` = 1 OR `file` = 'school/item/index' ) ORDER BY `is_public` DESC [ RunTime:0.000457s ]
SHOW FULL COLUMNS FROM `gk_school_tag_relation` [ RunTime:0.000694s ]
SHOW FULL COLUMNS FROM `gk_school_tag` [ RunTime:0.000342s ]
SELECT `gk_school_tag`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`tag_id` AS `pivot__tag_id`,`pivot`.`school_id` AS `pivot__school_id`,`pivot`.`status` AS `pivot__status` FROM `gk_school_tag` INNER JOIN `gk_school_tag_relation` `pivot` ON `pivot`.`tag_id`=`gk_school_tag`.`id` WHERE `pivot`.`school_id` = '2816' [ RunTime:0.002596s ]
SHOW FULL COLUMNS FROM `gk_school_galary` [ RunTime:0.000391s ]
SELECT `gk_school_tag`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`school_id` AS `pivot__school_id`,`pivot`.`name` AS `pivot__name`,`pivot`.`img_url` AS `pivot__img_url` FROM `gk_school_tag` INNER JOIN `gk_school_galary` `pivot` ON `pivot`.`school_id`=`gk_school_tag`.`id` WHERE `pivot`.`school_id` = '2816' [ RunTime:0.008615s ]
SHOW FULL COLUMNS FROM `gk_portal_post` [ RunTime:0.000756s ]
SELECT post.*,min(category_post.category_id) as category_id FROM `gk_portal_post` `post` INNER JOIN `gk_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `post`.`post_title` LIKE '%莱斯特国际学习中心%' ) AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1746519250' ) GROUP BY `post`.`id` ORDER BY `post`.`post_hits` DESC LIMIT 5 [ RunTime:0.212245s ]
SELECT post.*,min(category_post.category_id) as category_id FROM `gk_portal_post` `post` INNER JOIN `gk_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = '1' AND `post`.`post_type` = '1' AND `post`.`delete_time` = '0' AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1746519250' ) GROUP BY `post`.`id` ORDER BY `post`.`post_hits` DESC LIMIT 5 [ RunTime:0.713408s ]