SELECT `more`,`file`,`id`,`is_public` FROM `xs_theme_file` WHERE `theme` = 'xs_v1' AND ( `is_public` = 1 OR `file` = 'portal/index' ) ORDER BY `is_public` DESC [ RunTime:0.006037s ]
SHOW FULL COLUMNS FROM `xs_portal_post` [ RunTime:0.006541s ]
SELECT post.*,min(category_post.category_id) as category_id FROM `xs_portal_post` `post` INNER JOIN `xs_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` < '1743643039' ) GROUP BY `post`.`id` ORDER BY `post`.`recommended` DESC,`post`.`published_time` DESC LIMIT 10 [ RunTime:0.010096s ]
SELECT post.*,min(category_post.category_id) as category_id FROM `xs_portal_post` `post` INNER JOIN `xs_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` < '1743643039' ) GROUP BY `post`.`id` ORDER BY `post`.`recommended` DESC,`post`.`published_time` DESC,`post`.`id` DESC LIMIT 10 [ RunTime:0.047472s ]