SHOW FULL COLUMNS FROM `cmf_doc` [ RunTime:0.001393s ]
SELECT * FROM `cmf_doc` WHERE `id` = 108184 LIMIT 1 [ RunTime:0.001086s ]
UPDATE `cmf_doc` SET `hits` = `hits` + 1 WHERE `id` = 108184 [ RunTime:0.001397s ]
SHOW FULL COLUMNS FROM `cmf_topic_doc` [ RunTime:0.001068s ]
SHOW FULL COLUMNS FROM `cmf_topic` [ RunTime:0.001324s ]
SELECT `a`.`name`,`a`.`id` FROM `cmf_topic` `a` INNER JOIN `cmf_topic_doc` `pivot` ON `pivot`.`topic_id`=`a`.`id` WHERE `pivot`.`post_id` = '108184' [ RunTime:0.001100s ]
SHOW FULL COLUMNS FROM `cmf_category` [ RunTime:0.001134s ]
SELECT `topic_id`,`zsxq` FROM `cmf_category` WHERE `delete_time` = 0 [ RunTime:0.000831s ]
SELECT `a`.`id`,`a`.`title`,`a`.`thumbnail`,`a`.`count`,`a`.`format`,`a`.`create_time`,b.id AS post_category_id,`b`.`list_order`,`b`.`topic_id` FROM `cmf_doc` `a` INNER JOIN `cmf_topic_doc` `b` ON `a`.`id`=`b`.`post_id` WHERE `a`.`delete_time` = '0' AND `a`.`kind` = '1' AND `b`.`topic_id` IN ('581','1185') GROUP BY `a`.`id` ORDER BY `a`.`create_time` DESC LIMIT 5 [ RunTime:0.440516s ]
SHOW FULL COLUMNS FROM `cmf_theme_file` [ RunTime:0.001145s ]
SELECT * FROM `cmf_theme_file` WHERE `theme` = 'default' AND `file` = 'demo/index' LIMIT 1 [ RunTime:0.001292s ]
SELECT `more`,`file`,`id` FROM `cmf_theme_file` WHERE `theme` = 'default' AND ( `is_public` = 1 OR `file` = 'mix/smart_view' ) ORDER BY `is_public` DESC [ RunTime:0.000925s ]
SELECT `cmf_topic`.*,`pivot`.`id` AS `pivot__id`,`pivot`.`post_id` AS `pivot__post_id`,`pivot`.`category_id` AS `pivot__category_id`,`pivot`.`topic_id` AS `pivot__topic_id`,`pivot`.`list_order` AS `pivot__list_order`,`pivot`.`status` AS `pivot__status` FROM `cmf_topic` INNER JOIN `cmf_topic_doc` `pivot` ON `pivot`.`topic_id`=`cmf_topic`.`id` WHERE `pivot`.`post_id` = '108184' [ RunTime:0.001999s ]