SHOW FULL COLUMNS FROM `cmf_plugin` [ RunTime:0.001064s ]
SELECT `config` FROM `cmf_plugin` WHERE `name` = 'SwitchThemeDemo' LIMIT 1 [ RunTime:0.000402s ]
SHOW FULL COLUMNS FROM `cmf_portal_post` [ RunTime:0.001067s ]
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` = 51 AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1701762610 ) LIMIT 1 [ RunTime:0.000514s ]
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` < 51 AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1701762610 ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000462s ]
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` > 51 AND ( `post`.`published_time` > 0 AND `post`.`published_time` < 1701762610 ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000904s ]
SHOW FULL COLUMNS FROM `cmf_portal_category` [ RunTime:0.000807s ]
SELECT * FROM `cmf_portal_category` WHERE `id` = 30 AND `status` = 1 LIMIT 1 [ RunTime:0.000306s ]
UPDATE `cmf_portal_post` SET `post_hits` = `post_hits` + 1 WHERE `id` = 51 [ RunTime:0.014976s ]
SHOW FULL COLUMNS FROM `cmf_portal_tag` [ RunTime:0.000947s ]
SELECT * FROM `cmf_portal_tag` LIMIT 0,20 [ RunTime:0.000307s ]
SHOW FULL COLUMNS FROM `cmf_theme_file` [ RunTime:0.000763s ]
SELECT * FROM `cmf_theme_file` WHERE `theme` = 'simpleboot3' AND `file` = 'portal/article' LIMIT 1 [ RunTime:0.000354s ]
SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'simpleboot3' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.000536s ]
SELECT `config` FROM `cmf_plugin` WHERE `name` = 'Publish' LIMIT 1 [ RunTime:0.000339s ]
SHOW FULL COLUMNS FROM `cmf_nav` [ RunTime:0.000879s ]
SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.000276s ]
SHOW FULL COLUMNS FROM `cmf_nav_menu` [ RunTime:0.000780s ]
SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000324s ]
SELECT `path` FROM `cmf_portal_category` WHERE `id` = 30 LIMIT 1 [ RunTime:0.000409s ]
SELECT * FROM `cmf_portal_category` WHERE `id` IN (0,27) ORDER BY `path` ASC [ RunTime:0.000395s ]
SELECT `path` FROM `cmf_portal_category` WHERE `id` = 30 LIMIT 1 [ RunTime:0.000237s ]
SELECT * FROM `cmf_portal_category` WHERE `id` IN (0,27) ORDER BY `path` ASC [ RunTime:0.000315s ]
SHOW FULL COLUMNS FROM `cmf_user` [ RunTime:0.001000s ]
SELECT * FROM `cmf_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000313s ]
SELECT * FROM `cmf_portal_post` WHERE `id` < 51 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000515s ]
SELECT * FROM `cmf_portal_post` WHERE `id` > 51 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000355s ]
SHOW FULL COLUMNS FROM `cmf_portal_category_post` [ RunTime:0.000844s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 49 LIMIT 1 [ RunTime:0.000262s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 52 LIMIT 1 [ RunTime:0.000231s ]
SELECT `config` FROM `cmf_plugin` WHERE `name` = 'Comment' LIMIT 1 [ RunTime:0.000259s ]
SHOW FULL COLUMNS FROM `cmf_comment` [ RunTime:0.000814s ]
SELECT COUNT(*) AS think_count FROM `cmf_comment` WHERE `object_id` = 51 AND `status` = 1 AND `delete_time` = 0 [ RunTime:0.000322s ]
SELECT * FROM `cmf_comment` WHERE `object_id` = 51 AND `status` = 1 AND `delete_time` = 0 ORDER BY `id` ASC LIMIT 0,15 [ RunTime:0.000318s ]
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` < 1701762610 ) GROUP BY `post`.`id` ORDER BY `post`.`post_hits` DESC LIMIT 9 [ RunTime:0.001265s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 225 LIMIT 1 [ RunTime:0.000325s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 225 LIMIT 1 [ RunTime:0.000356s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 39 LIMIT 1 [ RunTime:0.000278s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 39 LIMIT 1 [ RunTime:0.000279s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 65 LIMIT 1 [ RunTime:0.000385s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 65 LIMIT 1 [ RunTime:0.000265s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 51 LIMIT 1 [ RunTime:0.000300s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 51 LIMIT 1 [ RunTime:0.000334s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 63 LIMIT 1 [ RunTime:0.000258s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 63 LIMIT 1 [ RunTime:0.000279s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 223 LIMIT 1 [ RunTime:0.000304s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 223 LIMIT 1 [ RunTime:0.000368s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 56 LIMIT 1 [ RunTime:0.000317s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 56 LIMIT 1 [ RunTime:0.000328s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 221 LIMIT 1 [ RunTime:0.000310s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 221 LIMIT 1 [ RunTime:0.000411s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 58 LIMIT 1 [ RunTime:0.000287s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 58 LIMIT 1 [ RunTime:0.000256s ]
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` < 1701762610 ) GROUP BY `post`.`id` ORDER BY `post`.`post_hits` DESC LIMIT 9 [ RunTime:0.001014s ]
SELECT * FROM `cmf_portal_post` WHERE `delete_time` = 0 ORDER BY rand() LIMIT 10 [ RunTime:0.003163s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 194 LIMIT 1 [ RunTime:0.000315s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 194 LIMIT 1 [ RunTime:0.000305s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 194 LIMIT 1 [ RunTime:0.000297s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 148 LIMIT 1 [ RunTime:0.000269s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 148 LIMIT 1 [ RunTime:0.000265s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 148 LIMIT 1 [ RunTime:0.000251s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 73 LIMIT 1 [ RunTime:0.000342s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 73 LIMIT 1 [ RunTime:0.000275s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 73 LIMIT 1 [ RunTime:0.000405s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 149 LIMIT 1 [ RunTime:0.000253s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 149 LIMIT 1 [ RunTime:0.000294s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 149 LIMIT 1 [ RunTime:0.000238s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 170 LIMIT 1 [ RunTime:0.000239s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 170 LIMIT 1 [ RunTime:0.000279s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 170 LIMIT 1 [ RunTime:0.000239s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 142 LIMIT 1 [ RunTime:0.000229s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 142 LIMIT 1 [ RunTime:0.000265s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 142 LIMIT 1 [ RunTime:0.000236s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 147 LIMIT 1 [ RunTime:0.000297s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 147 LIMIT 1 [ RunTime:0.000237s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 147 LIMIT 1 [ RunTime:0.000245s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 218 LIMIT 1 [ RunTime:0.000269s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 218 LIMIT 1 [ RunTime:0.000284s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 218 LIMIT 1 [ RunTime:0.000281s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 98 LIMIT 1 [ RunTime:0.000230s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 98 LIMIT 1 [ RunTime:0.000243s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 98 LIMIT 1 [ RunTime:0.000247s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 226 LIMIT 1 [ RunTime:0.000311s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 226 LIMIT 1 [ RunTime:0.000289s ]
SELECT `category_id` FROM `cmf_portal_category_post` WHERE `post_id` = 226 LIMIT 1 [ RunTime:0.000258s ]
评论