[ SQL ] SHOW COLUMNS FROM `cmf_nav` [ RunTime:0.011806s ]
[ SQL ] SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.011483s ]
[ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY list_order ASC [ RunTime:0.011530s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.012081s ]
[ 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`.`published_time` < '1733305786' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` = '323' LIMIT 1 [ RunTime:0.011903s ]
[ 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`.`published_time` < '1733305786' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` < '323' ORDER BY `id` DESC LIMIT 1 [ RunTime:0.012280s ]
[ 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`.`published_time` < '1733305786' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` > '323' ORDER BY `id` ASC LIMIT 1 [ RunTime:0.011783s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.012141s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 6 AND `status` = 1 LIMIT 1 [ RunTime:0.011671s ]
[ SQL ] UPDATE `cmf_portal_post` SET `post_hits`=post_hits+1 WHERE `id` = 323 [ RunTime:0.023071s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `cmf_portal_post` `a` LEFT JOIN `cmf_portal_category_post` `b` ON `a`.`id`=`b`.`post_id` LEFT JOIN `cmf_hospital_category` `h` ON `a`.`hospital_category_id`=`h`.`id` LEFT JOIN `cmf_portal_category` `pc` ON `pc`.`id`=`b`.`category_id` WHERE ( a.id >= ((SELECT MAX(id) FROM cmf_portal_post)-(SELECT MIN(id) FROM cmf_portal_post)) * RAND() + (SELECT MIN(id) FROM cmf_portal_post) ) AND `a`.`post_type` = 1 AND `a`.`create_time` >= 0 AND `a`.`delete_time` = 0 LIMIT 1 [ RunTime:0.013745s ]
[ SQL ] SELECT `a`.*,`b`.`category_id`,pc.parent_id AS pid FROM `cmf_portal_post` `a` LEFT JOIN `cmf_portal_category_post` `b` ON `a`.`id`=`b`.`post_id` LEFT JOIN `cmf_hospital_category` `h` ON `a`.`hospital_category_id`=`h`.`id` LEFT JOIN `cmf_portal_category` `pc` ON `pc`.`id`=`b`.`category_id` WHERE ( a.id >= ((SELECT MAX(id) FROM cmf_portal_post)-(SELECT MIN(id) FROM cmf_portal_post)) * RAND() + (SELECT MIN(id) FROM cmf_portal_post) ) AND `a`.`post_type` = 1 AND `a`.`create_time` >= 0 AND `a`.`delete_time` = 0 LIMIT 0,5 [ RunTime:0.019424s ]
[ SQL ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.012103s ]
[ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.011540s ]
[ 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` LEFT JOIN `cmf_portal_category` `pc` ON `pc`.`id`=`b`.`category_id` LEFT JOIN `cmf_hospital_category` `h` ON `a`.`hospital_category_id`=`h`.`id` WHERE `a`.`create_time` >= 0 AND `a`.`delete_time` = 0 AND `a`.`post_type` = 1 LIMIT 1 [ RunTime:0.012270s ]
[ SQL ] SELECT `a`.*,`b`.`list_order`,`b`.`category_id`,pc.parent_id AS pid,`u`.`user_login`,`u`.`user_nickname`,`u`.`user_email`,h.name AS hospital_category_name 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` LEFT JOIN `cmf_portal_category` `pc` ON `pc`.`id`=`b`.`category_id` LEFT JOIN `cmf_hospital_category` `h` ON `a`.`hospital_category_id`=`h`.`id` WHERE `a`.`create_time` >= 0 AND `a`.`delete_time` = 0 AND `a`.`post_type` = 1 ORDER BY `list_order` DESC,`update_time` DESC LIMIT 0,5 [ RunTime:0.013519s ]
[ SQL ] SHOW COLUMNS FROM `cmf_slide_item` [ RunTime:0.012059s ]
[ SQL ] SELECT `si`.*,`s`.`category_id` FROM `cmf_slide_item` `si` LEFT JOIN `cmf_slide` `s` ON `s`.`id`=`si`.`slide_id` WHERE `s`.`category_id` = -1 AND `si`.`status` = 1 AND `si`.`device` = 'pc' ORDER BY `si`.`id` DESC LIMIT 1 [ RunTime:0.012121s ]
[ SQL ] SELECT `si`.*,`s`.`category_id` FROM `cmf_slide_item` `si` LEFT JOIN `cmf_slide` `s` ON `s`.`id`=`si`.`slide_id` WHERE `s`.`category_id` = '2' AND `si`.`status` = 1 AND `si`.`device` = 'pc' ORDER BY `si`.`id` DESC LIMIT 1 [ RunTime:0.012013s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.011666s ]
[ SQL ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.012139s ]
[ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'haiwaiguahao' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.011674s ]