SHOW FULL COLUMNS FROM `news_category` [ RunTime:0.006302s ]
SELECT * FROM `news_category` WHERE `slug` = 'brand-news' AND `status` = 1 LIMIT 1 [ RunTime:0.005874s ]
SELECT * FROM `news_category` WHERE `id` = 2 LIMIT 1 [ RunTime:0.005800s ]
SHOW FULL COLUMNS FROM `news` [ RunTime:0.007561s ]
SELECT COUNT(*) AS think_count FROM `news` WHERE `category_id` = 2 AND `status` = 1 AND `publish_time` <= '2026-10-02 05:26:20' [ RunTime:0.005918s ]
SELECT * FROM `news` WHERE `category_id` = 2 AND `status` = 1 AND `publish_time` <= '2026-10-02 05:26:20' ORDER BY `is_top` DESC,`publish_time` DESC,`id` DESC LIMIT 0,15 [ RunTime:0.006094s ]
SELECT * FROM `news_category` WHERE `status` = 1 ORDER BY `sort_order` DESC,`id` ASC [ RunTime:0.006001s ]
SELECT * FROM `news` WHERE `is_hot` = 1 AND `status` = 1 AND `publish_time` <= '2026-10-02 05:26:20' ORDER BY `view_count` DESC LIMIT 5 [ RunTime:0.006002s ]
SHOW FULL COLUMNS FROM `news_tag` [ RunTime:0.006054s ]
SELECT * FROM `news_tag` ORDER BY `sort_order` DESC,`id` ASC [ RunTime:0.005791s ]
SHOW FULL COLUMNS FROM `news_tag_relation` [ RunTime:0.006010s ]
SELECT `news_tag`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`news_id` AS `pivot__news_id`,`pivot`.`tag_id` AS `pivot__tag_id`,`pivot`.`create_time` AS `pivot__create_time` FROM `news_tag` INNER JOIN `news_tag_relation` `pivot` ON `pivot`.`tag_id`=`news_tag`.`id` WHERE ( `pivot`.`news_id` = '2' ) [ RunTime:0.005922s ]
SELECT `news_tag`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`news_id` AS `pivot__news_id`,`pivot`.`tag_id` AS `pivot__tag_id`,`pivot`.`create_time` AS `pivot__create_time` FROM `news_tag` INNER JOIN `news_tag_relation` `pivot` ON `pivot`.`tag_id`=`news_tag`.`id` WHERE ( `pivot`.`news_id` = '7' ) [ RunTime:0.005939s ]