[ SQL ] SHOW COLUMNS FROM `cmf_portal_video` [ RunTime:0.000602s ]
[ SQL ] SELECT `title`,`path`,`avatar`,`words_title`,`words` FROM `cmf_portal_video` WHERE `status` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000219s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.000597s ]
[ 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 ( `post`.`create_time` >= 0 ) AND ( `category_post`.`category_id` IN (3,4,5,8,9,10,16,17) ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1675010142 ) GROUP BY `post`.`id` ORDER BY `published_time` DESC LIMIT 6 [ RunTime:0.007746s ]
[ 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 ( `post`.`create_time` >= 0 ) AND ( `category_post`.`category_id` IN ('2','7') ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1675010142 ) GROUP BY `post`.`id` ORDER BY `published_time` DESC LIMIT 4 [ RunTime:0.008233s ]