[ SQL ] SELECT `post`.* FROM `cmf_portal_post` `post` WHERE `post`.`post_type` = 1 AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `post`.`id` < '667' AND ( `post`.`published_time` < '1725758939' and `post`.`published_time` > '0' ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000000s ]
[ SQL ] SELECT `post`.* FROM `cmf_portal_post` `post` WHERE `post`.`post_type` = 1 AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `post`.`id` > '667' AND ( `post`.`published_time` < '1725758939' and `post`.`published_time` > '0' ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000000s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_category_post` [ RunTime:0.000000s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.000000s ]
[ SQL ] SELECT `cmf_portal_category`.*,pivot.id AS pivot__id,pivot.post_id AS pivot__post_id,pivot.category_id AS pivot__category_id,pivot.list_order AS pivot__list_order,pivot.status AS pivot__status FROM `cmf_portal_category` INNER JOIN `cmf_portal_category_post` `pivot` ON `pivot`.`category_id`=`cmf_portal_category`.`id` WHERE `pivot`.`post_id` = 667 [ RunTime:0.000000s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `cmf_portal_post` `a` INNER JOIN `cmf_user` `u` ON `a`.`user_id`=`u`.`id` INNER JOIN `cmf_portal_category_post` `b` ON `a`.`id`=`b`.`post_id` WHERE `a`.`create_time` >= 0 AND `a`.`delete_time` = 0 AND ( `b`.`category_id` IN ('41','42','43') AND `a`.`post_type` = 1 ) LIMIT 1 [ RunTime:0.000000s ]
[ SQL ] SELECT `a`.*,b.id AS post_category_id,`b`.`list_order`,`b`.`category_id`,`u`.`user_login`,`u`.`user_nickname`,`u`.`user_email` FROM `cmf_portal_post` `a` INNER JOIN `cmf_user` `u` ON `a`.`user_id`=`u`.`id` INNER JOIN `cmf_portal_category_post` `b` ON `a`.`id`=`b`.`post_id` WHERE `a`.`create_time` >= 0 AND `a`.`delete_time` = 0 AND ( `b`.`category_id` IN ('41','42','43') AND `a`.`post_type` = 1 ) ORDER BY `update_time` DESC LIMIT 0,10 [ RunTime:0.000000s ]
[ SQL ] SELECT `post`.*,`category_post`.`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.is_top=1 ) AND ( `category_post`.`category_id` = '22' ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1725758939 ) GROUP BY `post`.`id` ORDER BY `category_post`.`list_order`,`post`.`published_time` DESC LIMIT 1 [ RunTime:0.015625s ]
[ SQL ] SELECT `post`.*,`category_post`.`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` = '22' ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1725758939 ) GROUP BY `post`.`id` ORDER BY `post`.`recommended`,`post`.`is_top`,`category_post`.`list_order`,`post`.`published_time` DESC LIMIT 5 [ RunTime:0.000000s ]
[ SQL ] SELECT `post`.*,`category_post`.`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.is_top=1 ) AND ( `category_post`.`category_id` = '44' ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1725758939 ) GROUP BY `post`.`id` ORDER BY `category_post`.`list_order`,`post`.`published_time` DESC LIMIT 1 [ RunTime:0.015625s ]
[ SQL ] SELECT `post`.*,`category_post`.`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.id != 5218 ) AND ( `category_post`.`category_id` = '44' ) AND ( `post`.`published_time` > '0' and `post`.`published_time` < 1725758939 ) GROUP BY `post`.`id` ORDER BY `post`.`recommended`,`post`.`is_top`,`category_post`.`list_order`,`post`.`published_time` DESC LIMIT 5 [ RunTime:0.031250s ]