[ SQL ] SHOW COLUMNS FROM `cmf_nav` [ RunTime:0.011431s ]
[ SQL ] SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.011058s ]
[ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY list_order ASC [ RunTime:0.011924s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.011633s ]
[ 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` < '1728588301' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` = '320' LIMIT 1 [ RunTime:0.011713s ]
[ 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` < '1728588301' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` < '320' ORDER BY `id` DESC LIMIT 1 [ RunTime:0.012570s ]
[ 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` < '1728588301' AND `post`.`published_time` > '0' ) AND `post`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = '6' AND `relation`.`post_id` > '320' ORDER BY `id` ASC LIMIT 1 [ RunTime:0.011645s ]
[ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.011569s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 6 AND `status` = 1 LIMIT 1 [ RunTime:0.011251s ]
[ SQL ] UPDATE `cmf_portal_post` SET `post_hits`=post_hits+1 WHERE `id` = 320 [ RunTime:0.016897s ]
[ 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.015692s ]
[ 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.024934s ]
[ SQL ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.011506s ]
[ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.011114s ]
[ 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.011823s ]
[ 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.014332s ]
[ SQL ] SHOW COLUMNS FROM `cmf_slide_item` [ RunTime:0.011451s ]
[ 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.011658s ]
[ 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.011879s ]
[ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 6 LIMIT 1 [ RunTime:0.011241s ]
[ SQL ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.011585s ]
[ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'haiwaiguahao' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.011146s ]