SHOW FULL COLUMNS FROM `cmf_plugin` [ RunTime:0.001073s ]
SELECT `config` FROM `cmf_plugin` WHERE `name` = 'SwitchThemeDemo' LIMIT 1 [ RunTime:0.000305s ]
SHOW FULL COLUMNS FROM `cmf_portal_post` [ RunTime:0.001142s ]
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`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = 30 AND `relation`.`post_id` = 169 AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1730252870 ) LIMIT 1 [ RunTime:0.000653s ]
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`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = 30 AND `relation`.`post_id` < 169 AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1730252870 ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001231s ]
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`.`post_status` = 1 AND `post`.`delete_time` = 0 AND `relation`.`category_id` = 30 AND `relation`.`post_id` > 169 AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1730252870 ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.001016s ]
SHOW FULL COLUMNS FROM `cmf_portal_category` [ RunTime:0.001016s ]
SELECT * FROM `cmf_portal_category` WHERE `id` = 30 AND `status` = 1 LIMIT 1 [ RunTime:0.000403s ]
UPDATE `cmf_portal_post` SET `post_hits` = `post_hits` + 1 WHERE `id` = 169 [ RunTime:0.004120s ]
SHOW FULL COLUMNS FROM `cmf_portal_tag` [ RunTime:0.000907s ]
SELECT * FROM `cmf_portal_tag` LIMIT 0,20 [ RunTime:0.000348s ]
SHOW FULL COLUMNS FROM `cmf_theme_file` [ RunTime:0.000759s ]
SELECT * FROM `cmf_theme_file` WHERE `theme` = 'simpleboot3' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.000291s ]
SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'simpleboot3' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.000411s ]
SELECT `config` FROM `cmf_plugin` WHERE `name` = 'Publish' LIMIT 1 [ RunTime:0.000329s ]
SHOW FULL COLUMNS FROM `cmf_nav` [ RunTime:0.000973s ]
SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `cmf_nav_menu` [ RunTime:0.000941s ]
SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000490s ]
SELECT `path` FROM `cmf_portal_category` WHERE `id` = 30 LIMIT 1 [ RunTime:0.000429s ]
SELECT * FROM `cmf_portal_category` WHERE `id` IN (0,27) ORDER BY `path` ASC [ RunTime:0.000469s ]
SELECT `path` FROM `cmf_portal_category` WHERE `id` = 30 LIMIT 1 [ RunTime:0.000310s ]
SELECT * FROM `cmf_portal_category` WHERE `id` IN (0,27) ORDER BY `path` ASC [ RunTime:0.000432s ]
SHOW FULL COLUMNS FROM `cmf_user` [ RunTime:0.001235s ]
SELECT * FROM `cmf_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000413s ]
SELECT * FROM `cmf_portal_post` WHERE `id` < 169 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000599s ]
SELECT * FROM `cmf_portal_post` WHERE `id` > 169 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000596s ]
SHOW FULL COLUMNS FROM `cmf_portal_category_post` [ RunTime:0.001092s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 168 LIMIT 1 [ RunTime:0.000367s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 170 LIMIT 1 [ RunTime:0.000343s ]
SELECT `config` FROM `cmf_plugin` WHERE `name` = 'Comment' LIMIT 1 [ RunTime:0.000329s ]
SHOW FULL COLUMNS FROM `cmf_comment` [ RunTime:0.001126s ]
SELECT COUNT(*) AS think_count FROM `cmf_comment` WHERE `object_id` = 169 AND `status` = 1 AND `delete_time` = 0 [ RunTime:0.000391s ]
SELECT * FROM `cmf_comment` WHERE `object_id` = 169 AND `status` = 1 AND `delete_time` = 0 ORDER BY `id` ASC LIMIT 0,15 [ RunTime:0.000457s ]
SELECT post.*,min(category_post.category_id) as category_id FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND ( `post`.`create_time` >= 0 ) AND ( `category_post`.`category_id` = '30' ) AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1730252870 ) GROUP BY `post`.`id` ORDER BY `post`.`post_hits` DESC LIMIT 9 [ RunTime:0.001739s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 225 LIMIT 1 [ RunTime:0.000414s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 225 LIMIT 1 [ RunTime:0.000357s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 221 LIMIT 1 [ RunTime:0.000435s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 221 LIMIT 1 [ RunTime:0.000376s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 223 LIMIT 1 [ RunTime:0.000365s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 223 LIMIT 1 [ RunTime:0.000376s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 39 LIMIT 1 [ RunTime:0.000297s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 39 LIMIT 1 [ RunTime:0.000325s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 222 LIMIT 1 [ RunTime:0.000368s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 222 LIMIT 1 [ RunTime:0.000387s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 65 LIMIT 1 [ RunTime:0.000329s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 65 LIMIT 1 [ RunTime:0.000306s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 51 LIMIT 1 [ RunTime:0.000326s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 51 LIMIT 1 [ RunTime:0.000317s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 56 LIMIT 1 [ RunTime:0.000329s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 56 LIMIT 1 [ RunTime:0.000298s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 63 LIMIT 1 [ RunTime:0.000341s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 63 LIMIT 1 [ RunTime:0.000310s ]
SELECT post.*,min(category_post.category_id) as category_id FROM `cmf_portal_post` `post` INNER JOIN `cmf_portal_category_post` `category_post` ON `post`.`id`=`category_post`.`post_id` WHERE `post`.`post_status` = 1 AND `post`.`post_type` = 1 AND `post`.`delete_time` = 0 AND ( `post`.`create_time` >= 0 AND `post`.`recommended` = 1 ) AND ( `category_post`.`category_id` = '30' ) AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1730252870 ) GROUP BY `post`.`id` ORDER BY `post`.`post_hits` DESC LIMIT 9 [ RunTime:0.001146s ]
SELECT * FROM `cmf_portal_post` WHERE `delete_time` = 0 ORDER BY rand() LIMIT 10 [ RunTime:0.003655s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 193 LIMIT 1 [ RunTime:0.000363s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 193 LIMIT 1 [ RunTime:0.000355s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 193 LIMIT 1 [ RunTime:0.000364s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 123 LIMIT 1 [ RunTime:0.000339s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 123 LIMIT 1 [ RunTime:0.000287s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 123 LIMIT 1 [ RunTime:0.000327s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 206 LIMIT 1 [ RunTime:0.000274s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 206 LIMIT 1 [ RunTime:0.000321s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 206 LIMIT 1 [ RunTime:0.000310s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 60 LIMIT 1 [ RunTime:0.000224s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 60 LIMIT 1 [ RunTime:0.000318s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 60 LIMIT 1 [ RunTime:0.000292s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 72 LIMIT 1 [ RunTime:0.000347s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 72 LIMIT 1 [ RunTime:0.000346s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 72 LIMIT 1 [ RunTime:0.000349s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 80 LIMIT 1 [ RunTime:0.000315s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 80 LIMIT 1 [ RunTime:0.000355s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 80 LIMIT 1 [ RunTime:0.000328s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 174 LIMIT 1 [ RunTime:0.000385s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 174 LIMIT 1 [ RunTime:0.000334s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 174 LIMIT 1 [ RunTime:0.000347s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 212 LIMIT 1 [ RunTime:0.000395s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 212 LIMIT 1 [ RunTime:0.000365s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 212 LIMIT 1 [ RunTime:0.000345s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 68 LIMIT 1 [ RunTime:0.000321s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 68 LIMIT 1 [ RunTime:0.000250s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 68 LIMIT 1 [ RunTime:0.000334s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 217 LIMIT 1 [ RunTime:0.000248s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 217 LIMIT 1 [ RunTime:0.000255s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 217 LIMIT 1 [ RunTime:0.000258s ]
评论