[ 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.001209s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 1 ORDER BY `list_order` ASC [ RunTime:0.001074s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 5 ORDER BY `list_order` ASC [ RunTime:0.000463s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 31 ORDER BY `list_order` ASC [ RunTime:0.000625s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 53 ORDER BY `list_order` ASC [ RunTime:0.000481s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 16 ORDER BY `list_order` ASC [ RunTime:0.000500s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 69 ORDER BY `list_order` ASC [ RunTime:0.000585s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 7 ORDER BY `list_order` ASC [ RunTime:0.000797s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 1 ORDER BY `list_order` ASC [ RunTime:0.000442s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 5 ORDER BY `list_order` ASC [ RunTime:0.000442s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 53 ORDER BY `list_order` ASC [ RunTime:0.000421s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 16 ORDER BY `list_order` ASC [ RunTime:0.000815s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 42 ORDER BY `list_order` ASC [ RunTime:0.000885s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `status` = 1 AND `delete_time` = 0 AND `parent_id` = 39 ORDER BY `list_order` ASC [ RunTime:0.000274s ]
[ 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` < 1758017251 ) GROUP BY `post`.`id` ) `_group_count_` [ RunTime:0.037452s ]
[ 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` < 1758017251 ) GROUP BY `post`.`id` ORDER BY rand() LIMIT 0,12 [ RunTime:0.130209s ]
[ 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` < 1758017251 ) GROUP BY `post`.`id` ) `_group_count_` [ RunTime:0.011876s ]
[ 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` < 1758017251 ) GROUP BY `post`.`id` ORDER BY `id` DESC LIMIT 0,8 [ RunTime:0.059849s ]
[ 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` < 1758017251 ) GROUP BY `post`.`id` ) `_group_count_` [ RunTime:0.015514s ]
[ 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` < 1758017251 ) GROUP BY `post`.`id` ORDER BY `post`.`download_hits` DESC LIMIT 0,10 [ RunTime:0.127700s ]