[ SQL ] SHOW COLUMNS FROM `cmf_nav` [ RunTime:0.011502s ]
[ SQL ] SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.011151s ]
[ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY list_order ASC [ RunTime:0.011229s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.011712s ]
[ 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` < '1730671790' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` = '307' LIMIT 1 [ RunTime:0.011438s ]
[ 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` < '1730671790' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` < '307' ORDER BY `id` DESC LIMIT 1 [ RunTime:0.011736s ]
[ 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` < '1730671790' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` > '307' ORDER BY `id` ASC LIMIT 1 [ RunTime:0.011750s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.011651s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 6 AND `status` = 1 LIMIT 1 [ RunTime:0.011256s ]
[ SQL ] UPDATE `cmf_portal_post` SET `post_hits`=post_hits+1 WHERE `id` = 307 [ RunTime:0.022485s ]
[ 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.013537s ]
[ 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.018006s ]
[ SQL ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.011622s ]
[ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.011264s ]
[ 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.011842s ]
[ 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.012930s ]
[ SQL ] SHOW COLUMNS FROM `cmf_slide_item` [ RunTime:0.011641s ]
[ 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.011242s ]
[ 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.011589s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.011341s ]
[ SQL ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.011569s ]
[ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'haiwaiguahao' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.011180s ]