[ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.000788s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_tag_post` `tag_post` ON `post`.`id`=`tag_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND `tag_post`.`tag_id` = 30 AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1615108554 ) [ RunTime:0.000568s ]
[ SQL ] SELECT `post`.`id`,`post_title`,`post_excerpt`,`thumbnail`,`published_time`,`post_hits`,`post_keywords`,`more` FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_tag_post` `tag_post` ON `post`.`id`=`tag_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND `tag_post`.`tag_id` = 30 AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1615108554 ) ORDER BY `post`.`published_time` DESC LIMIT 0,20 [ RunTime:0.000791s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_category_post` [ RunTime:0.001054s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.000694s ]
[ SQL ] SELECT `cmf_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 `cmf_portal_category` INNER JOIN `cmf_portal_category_post` `pivot` ON `pivot`.`category_id`=`cmf_portal_category`.`id` WHERE `pivot`.`post_id` IN (261,313,248,249,241,240) [ RunTime:0.000974s ]
[ SQL ] SELECT post.id,post_title,post_excerpt,post_hits,published_time,thumbnail,more,min(category_post.category_id) cid FROM `cmf_portal_post` `post` INNER JOIN `cmf_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 ( `category_post`.`category_id` = '3' ) AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1615108554 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 8 [ RunTime:0.001211s ]
[ SQL ] SELECT post.id,post_title,post_excerpt,post_hits,published_time,thumbnail,more,min(category_post.category_id) cid FROM `cmf_portal_post` `post` INNER JOIN `cmf_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 ( `category_post`.`category_id` = '6' ) AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1615108554 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 8 [ RunTime:0.000963s ]
[ SQL ] SELECT post.id,post_title,post_excerpt,post_hits,published_time,thumbnail,more,min(category_post.category_id) cid FROM `cmf_portal_post` `post` INNER JOIN `cmf_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 ( `category_post`.`category_id` = '4' ) AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1615108554 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 8 [ RunTime:0.000855s ]
[ SQL ] SELECT post.id,post_title,post_excerpt,post_hits,published_time,thumbnail,more,min(category_post.category_id) cid FROM `cmf_portal_post` `post` INNER JOIN `cmf_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 ( `category_post`.`category_id` = '5' ) AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1615108554 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 8 [ RunTime:0.001020s ]