SELECT `more`,`file`,`id` FROM `mi_theme_file` WHERE `theme` = 'zhongshu' AND ( `is_public` = 1 OR `file` = 'portal/list' ) ORDER BY `is_public` DESC [ RunTime:0.001809s ]
SHOW FULL COLUMNS FROM `mi_option` [ RunTime:0.001949s ]
SELECT `option_value` FROM `mi_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.001563s ]
SHOW FULL COLUMNS FROM `mi_nav_menu` [ RunTime:0.001983s ]
SELECT * FROM `mi_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.001622s ]
SHOW FULL COLUMNS FROM `mi_link` [ RunTime:0.001972s ]
SELECT * FROM `mi_link` WHERE `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.001603s ]
SELECT `path` FROM `mi_portal_category` WHERE `id` = 20 LIMIT 1 [ RunTime:0.001645s ]
SELECT * FROM `mi_portal_category` WHERE `id` IN (0,19,20) ORDER BY `path` ASC [ RunTime:0.001768s ]
SELECT `id`,`path` FROM `mi_portal_category` WHERE `path` LIKE '%-20-%' ORDER BY `list_order` ASC [ RunTime:0.001664s ]
SHOW FULL COLUMNS FROM `mi_portal_post` [ RunTime:0.002273s ]
SELECT COUNT(*) AS think_count FROM ( SELECT count(*) AS think_count FROM `mi_portal_post` `post` INNER JOIN `mi_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 ( `post`.`create_time` >= '0' ) AND ( `category_post`.`category_id` = '20' ) AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1777127915' ) GROUP BY `post`.`id` ) `_group_count_` LIMIT 1 [ RunTime:0.002101s ]
SELECT post.*,min(category_post.category_id) as category_id FROM `mi_portal_post` `post` INNER JOIN `mi_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 ( `post`.`create_time` >= '0' ) AND ( `category_post`.`category_id` = '20' ) AND ( `post`.`published_time` > '0' AND `post`.`published_time` < '1777127915' ) GROUP BY `post`.`id` ORDER BY `post`.`recommended` DESC,`post`.`id` DESC LIMIT 0,9 [ RunTime:0.002292s ]
SELECT * FROM `mi_nav_menu` WHERE `nav_id` = 2 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.001702s ]