[ 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` < 21 and ( `post`.`published_time` < 1638359445 and `post`.`published_time` > 0 ) order by `id` desc limit 1 [ runtime:0.000370s ]
[ 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` > 21 and ( `post`.`published_time` < 1638359445 and `post`.`published_time` > 0 ) order by `id` asc limit 1 [ runtime:0.000384s ]
[ sql ] show columns from `cmf_portal_category_post` [ runtime:0.000454s ]
[ sql ] show columns from `cmf_portal_category` [ runtime:0.000423s ]
[ 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` = 21 [ runtime:0.000347s ]