[ SQL ] SHOW COLUMNS FROM `zitu_portal_category_post` [ RunTime:0.002495s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `zitu_portal_category_post` `c` LEFT JOIN `zitu_portal_post` `p` ON `p`.`id`=`c`.`post_id` WHERE `c`.`category_id` = 31 AND `p`.`post_status` = 1 AND `p`.`delete_time` = 0 [ RunTime:0.000779s ]
[ SQL ] SHOW COLUMNS FROM `zitu_portal_post` [ RunTime:0.000788s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) AS think_count FROM `zitu_portal_post` `post` INNER JOIN `zitu_portal_category_post` `category_post0` ON `post`.`id`=category_post0.post_id AND category_post0.category_id = 31 WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND `is_open` = 1 AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1776478408 ) GROUP BY `post`.`id` ) `_group_count_` [ RunTime:0.000525s ]
[ SQL ] SELECT `post`.* FROM `zitu_portal_post` `post` INNER JOIN `zitu_portal_category_post` `category_post0` ON `post`.`id`=category_post0.post_id AND category_post0.category_id = 31 WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND `is_open` = 1 AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1776478408 ) GROUP BY `post`.`id` ORDER BY `post`.`is_top` DESC,`post`.`recommended` DESC,`post`.`id` DESC LIMIT 0,10 [ RunTime:0.000858s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) AS think_count FROM `zitu_portal_post` `post` INNER JOIN `zitu_portal_category_post` `category_post0` ON `post`.`id`=category_post0.post_id AND category_post0.category_id = 31 WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND `is_open` = 1 AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1776478408 ) GROUP BY `post`.`id` ) `_group_count_` [ RunTime:0.000271s ]
[ SQL ] SELECT `post`.* FROM `zitu_portal_post` `post` INNER JOIN `zitu_portal_category_post` `category_post0` ON `post`.`id`=category_post0.post_id AND category_post0.category_id = 31 WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND `is_open` = 1 AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1776478408 ) GROUP BY `post`.`id` ORDER BY `post`.`is_top` DESC,`post`.`recommended` DESC,`post`.`id` DESC LIMIT 0,10 [ RunTime:0.000300s ]
[ SQL ] SELECT `zitu_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `zitu_portal_category` INNER JOIN `zitu_portal_category_post` `pivot` ON `pivot`.`category_id`=`zitu_portal_category`.`id` WHERE `pivot`.`post_id` = 422 [ RunTime:0.000526s ]
[ SQL ] SHOW COLUMNS FROM `zitu_portal_tag_post` [ RunTime:0.000712s ]
[ SQL ] SHOW COLUMNS FROM `zitu_portal_tag` [ RunTime:0.000921s ]
[ SQL ] SELECT `zitu_portal_tag`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`tag_id` AS `pivot__tag_id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`status` AS `pivot__status` FROM `zitu_portal_tag` INNER JOIN `zitu_portal_tag_post` `pivot` ON `pivot`.`tag_id`=`zitu_portal_tag`.`id` WHERE `pivot`.`post_id` = 422 [ RunTime:0.000335s ]
[ SQL ] SELECT `zitu_portal_category`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `zitu_portal_category` INNER JOIN `zitu_portal_category_post` `pivot` ON `pivot`.`category_id`=`zitu_portal_category`.`id` WHERE `pivot`.`post_id` = 119 [ RunTime:0.000456s ]
[ SQL ] SELECT `zitu_portal_tag`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`tag_id` AS `pivot__tag_id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`status` AS `pivot__status` FROM `zitu_portal_tag` INNER JOIN `zitu_portal_tag_post` `pivot` ON `pivot`.`tag_id`=`zitu_portal_tag`.`id` WHERE `pivot`.`post_id` = 119 [ RunTime:0.000290s ]
[ SQL ] SELECT `post`.* FROM `zitu_portal_post` `post` INNER JOIN `zitu_portal_category_post` `category_post0` ON `post`.`id`=category_post0.post_id AND category_post0.category_id = 31 WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND `is_open` = 1 AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1776478408 ) GROUP BY `post`.`id` ORDER BY `post`.`post_hits` DESC LIMIT 10 [ RunTime:0.001074s ]
[ SQL ] SELECT `post`.* FROM `zitu_portal_post` `post` WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND `is_open` = 1 AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1776478408 ) GROUP BY `post`.`id` ORDER BY `post`.`post_hits` DESC LIMIT 10 [ RunTime:0.002307s ]