[ SQL ] SELECT *,(SELECT COUNT(*) AS tp_count FROM `cmf_portal_category` `count_table` WHERE `status` = 1 AND ( `count_table`.`parent_id` =cmf_portal_category.id )) AS `subcategory_count` FROM `cmf_portal_category` WHERE `parent_id` = 0 AND `status` = 1 AND `delete_time` = 0 AND `name` <> '技术博客' ORDER BY `list_order` ASC [ RunTime:0.000840s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 1 ORDER BY `list_order` ASC [ RunTime:0.001137s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 5 ORDER BY `list_order` ASC [ RunTime:0.000395s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 31 ORDER BY `list_order` ASC [ RunTime:0.000333s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 53 ORDER BY `list_order` ASC [ RunTime:0.000354s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 16 ORDER BY `list_order` ASC [ RunTime:0.000340s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 69 ORDER BY `list_order` ASC [ RunTime:0.000591s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 7 ORDER BY `list_order` ASC [ RunTime:0.000358s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 1 ORDER BY `list_order` ASC [ RunTime:0.000314s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 5 ORDER BY `list_order` ASC [ RunTime:0.000320s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 53 ORDER BY `list_order` ASC [ RunTime:0.000529s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 16 ORDER BY `list_order` ASC [ RunTime:0.001949s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 42 ORDER BY `list_order` ASC [ RunTime:0.000574s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 39 ORDER BY `list_order` ASC [ RunTime:0.000262s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) AS think_count 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` = '1' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1758051561 ) GROUP BY `post`.`id` ) `_group_count_` [ RunTime:0.121009s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id 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` = '1' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1758051561 ) GROUP BY `post`.`id` ORDER BY rand() LIMIT 0,12 [ RunTime:0.321381s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) AS think_count 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` NOT IN (1,11,12,36,4,74,65,26,41,46,25) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1758051562 ) GROUP BY `post`.`id` ) `_group_count_` [ RunTime:0.012933s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id 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` NOT IN (1,11,12,36,4,74,65,26,41,46,25) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1758051562 ) GROUP BY `post`.`id` ORDER BY `id` DESC LIMIT 0,8 [ RunTime:0.083380s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) AS think_count 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` NOT IN (1,11,12,36,4,74,65,26,41,46,25) AND `category_post`.`category_id` NOT IN (1,11,12,36,4,74,65,26,41,46) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1758051562 ) GROUP BY `post`.`id` ) `_group_count_` [ RunTime:0.010829s ]
[ SQL ] SELECT post.*,min(category_post.category_id) as category_id 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` NOT IN (1,11,12,36,4,74,65,26,41,46,25) AND `category_post`.`category_id` NOT IN (1,11,12,36,4,74,65,26,41,46) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1758051562 ) GROUP BY `post`.`id` ORDER BY `post`.`download_hits` DESC LIMIT 0,10 [ RunTime:0.048735s ]