[ DB ] CONNECT:[ UseTime:0.000326s ] mysql:host=127.0.0.1;port=3306;dbname=edu_enlern_com;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.002782s ]
[ SQL ] SELECT `post`.* FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = 1 AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = 6 AND `relation`.`post_id` < 37 AND ( `post`.`published_time` < 1776334931 and `post`.`published_time` > 0 ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001612s ]
[ SQL ] SELECT `post`.* FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = 1 AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = 6 AND `relation`.`post_id` > 37 AND ( `post`.`published_time` < 1776334931 and `post`.`published_time` > 0 ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000241s ]
[ SQL ] SHOW COLUMNS FROM `cmf_comment` [ RunTime:0.002524s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `cmf_comment` WHERE `table_name` = 'portal_post' AND `object_id` = 37 AND `status` = 1 AND `delete_time` = 0 [ RunTime:0.000120s ]
[ SQL ] SELECT * FROM `cmf_comment` WHERE `table_name` = 'portal_post' AND `object_id` = 37 AND `status` = 1 AND `delete_time` = 0 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.000121s ]
[ 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`.`published_time` > 0 and `post`.`published_time` < 1776334932 ) GROUP BY `post`.`id` ORDER BY `post`.`post_hits` DESC LIMIT 5 [ RunTime:0.002441s ]