[ SQL ] SHOW COLUMNS FROM `cmf_nav` [ RunTime:0.011447s ]
[ SQL ] SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.011092s ]
[ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY list_order ASC [ RunTime:0.011104s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.011706s ]
[ 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` < '1728588670' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` = '308' LIMIT 1 [ RunTime:0.011539s ]
[ 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` < '1728588670' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` < '308' ORDER BY `id` DESC LIMIT 1 [ RunTime:0.012509s ]
[ 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` < '1728588670' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` > '308' ORDER BY `id` ASC LIMIT 1 [ RunTime:0.011695s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.011447s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 6 AND `status` = 1 LIMIT 1 [ RunTime:0.011145s ]
[ SQL ] UPDATE `cmf_portal_post` SET `post_hits`=post_hits+1 WHERE `id` = 308 [ RunTime:0.015704s ]
[ 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.018088s ]
[ 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.018848s ]
[ SQL ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.011461s ]
[ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.011022s ]
[ 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.011942s ]
[ 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.013490s ]
[ SQL ] SHOW COLUMNS FROM `cmf_slide_item` [ RunTime:0.011482s ]
[ 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.012655s ]
[ 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.011429s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.011061s ]
[ SQL ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.011367s ]
[ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'haiwaiguahao' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.011037s ]