[ SQL ] SHOW COLUMNS FROM `cmf_nav` [ RunTime:0.011520s ]
[ SQL ] SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.011220s ]
[ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY list_order ASC [ RunTime:0.011287s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.011672s ]
[ 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` < '1728589614' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` = '326' LIMIT 1 [ RunTime:0.011871s ]
[ 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` < '1728589614' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` < '326' ORDER BY `id` DESC LIMIT 1 [ RunTime:0.012252s ]
[ 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` < '1728589614' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` > '326' ORDER BY `id` ASC LIMIT 1 [ RunTime:0.011404s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.011673s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 6 AND `status` = 1 LIMIT 1 [ RunTime:0.011331s ]
[ SQL ] UPDATE `cmf_portal_post` SET `post_hits`=post_hits+1 WHERE `id` = 326 [ RunTime:0.025586s ]
[ 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.016166s ]
[ 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.020566s ]
[ SQL ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.011535s ]
[ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.011187s ]
[ 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.011968s ]
[ 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.013021s ]
[ SQL ] SHOW COLUMNS FROM `cmf_slide_item` [ RunTime:0.012262s ]
[ 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.011266s ]
[ 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.011227s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.011676s ]
[ SQL ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.011620s ]
[ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'haiwaiguahao' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.011306s ]