[ SQL ] SHOW COLUMNS FROM `cmf_hook_plugin` [ RunTime:0.000273s ]
[ SQL ] SELECT `hook`,`plugin` FROM `cmf_hook_plugin` WHERE `status` = 1 AND `hook` IN ('app_begin','module_init','action_begin','view_filter','app_end','log_write','response_end','admin_init','home_init','send_mobile_verification_code','body_start','before_head_end','footer_start','before_footer','before_footer_end','before_body_end','left_sidebar_start','before_left_sidebar_end','right_sidebar_start','before_right_sidebar_end','comment','guestbook','switch_theme','after_content','before_content','log_write_done','switch_admin_theme','captcha_image','app_dispatch') ORDER BY `list_order` ASC [ RunTime:0.000224s ]
[ SQL ] SELECT `id`,`name` FROM `cmf_portal_category` WHERE ( id<>4 and recommended=1 ) AND `status` = 1 AND `site_id` = 1 ORDER BY `list_order` ASC LIMIT 4 [ RunTime:0.000268s ]
[ DB ] CONNECT:[ UseTime:0.000209s ] mysql:host=127.0.0.1;port=63306;dbname=hbfzb;charset=utf8mb4
[ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.000422s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `cmf_portal_post` `p` INNER JOIN `cmf_portal_category_post` `c` ON `c`.`post_id`=`p`.`id` WHERE `c`.`category_id` = 4 AND `p`.`post_status` = 1 AND `p`.`post_type` = 1 AND `p`.`delete_time` = 0 [ RunTime:0.012837s ]
[ SQL ] SELECT `p`.`id`,`p`.`post_title`,`p`.`published_time`,`p`.`thumbnail` FROM `cmf_portal_post` `p` INNER JOIN `cmf_portal_category_post` `c` ON `c`.`post_id`=`p`.`id` WHERE `c`.`category_id` = 4 AND `p`.`post_status` = 1 AND `p`.`post_type` = 1 AND `p`.`delete_time` = 0 ORDER BY `published_time` DESC,`id` DESC LIMIT 5220,30 [ RunTime:0.022151s ]
[ 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`.`recommended` = 1 ) AND ( `category_post`.`category_id` = '2' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1680047409 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 5 [ RunTime:0.004925s ]
[ SQL ] SHOW COLUMNS FROM `cmf_position_item` [ RunTime:0.000331s ]
[ SQL ] SELECT `p`.* FROM cmf_position_item as po LEFT JOIN `cmf_portal_post` `p` ON `po`.`post_id`=`p`.`id` WHERE `po`.`status` = 1 AND `po`.`position_id` = 5 ORDER BY `po`.`list_order` ASC,`po`.`id` DESC LIMIT 1 [ RunTime:0.000325s ]
[ 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`.`recommended` = 1 ) AND ( `category_post`.`category_id` = '6' ) AND ( `post`.`published_time` > 0 and `post`.`published_time` < 1680047409 ) GROUP BY `post`.`id` ORDER BY `post`.`published_time` DESC LIMIT 3 [ RunTime:0.001439s ]