SHOW FULL COLUMNS FROM `tao_system` [ RunTime:0.000914s ]
SELECT `template` FROM `tao_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000360s ]
SHOW FULL COLUMNS FROM `tao_cate` [ RunTime:0.000762s ]
SELECT * FROM `tao_cate` WHERE `status` = '1' AND `delete_time` = 0 ORDER BY `sort` ASC [ RunTime:0.000490s ]
SHOW FULL COLUMNS FROM `tao_article` [ RunTime:0.000736s ]
SELECT `id` FROM `tao_article` WHERE `status` = '1' AND `delete_time` = 0 AND `id` = 68 LIMIT 1 [ RunTime:0.000402s ]
SHOW FULL COLUMNS FROM `tao_comment` [ RunTime:0.000612s ]
SHOW FULL COLUMNS FROM `tao_collection` [ RunTime:0.000535s ]
SHOW FULL COLUMNS FROM `tao_user_see_article_log` [ RunTime:0.000491s ]
SELECT `id`,`title`,`content`,`status`,`cate_id`,`user_id`,`is_top`,`is_hot`,`is_reply`,`pv`,`jie`,`upzip`,`downloads`,`tags`,`description`,`title_color`,`create_time`,(SELECT COUNT(*) AS think_count FROM `tao_comment` `count_table` WHERE ( ( `count_table`.`article_id` =tao_article.id ) ) AND `count_table`.`delete_time` = '0') AS `comments_count`,(SELECT COUNT(*) AS think_count FROM `tao_collection` `count_table` WHERE ( ( `count_table`.`article_id` =tao_article.id ) ) AND `count_table`.`delete_time` = '0') AS `collection_count`,(SELECT COUNT(*) AS think_count FROM `tao_user_see_article_log` `count_table` WHERE ( `count_table`.`article_id` =tao_article.id )) AS `userseearticlelog_count` FROM `tao_article` WHERE ( `status` = '1' AND `id` = 68 ) AND `tao_article`.`delete_time` = '0' LIMIT 1 [ RunTime:0.000679s ]
SELECT `id`,`catename`,`ename` FROM `tao_cate` WHERE ( `delete_time` = 0 AND `id` = 1 ) AND `tao_cate`.`delete_time` = '0' [ RunTime:0.000322s ]
SHOW FULL COLUMNS FROM `tao_user` [ RunTime:0.001265s ]
SELECT `id`,`name`,`nickname`,`user_img`,`area_id`,`vip` FROM `tao_user` WHERE ( `id` = 17 ) AND `tao_user`.`delete_time` = '0' [ RunTime:0.000419s ]
SELECT `detpl` FROM `tao_cate` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000267s ]
UPDATE `tao_article` SET `pv` = `pv` + 1 WHERE `id` = 68 [ RunTime:0.006610s ]
SELECT `pv` FROM `tao_article` WHERE `id` = 68 LIMIT 1 [ RunTime:0.000364s ]
SELECT COUNT(*) AS think_count FROM `tao_comment` WHERE ( `article_id` = 68 AND `status` = '1' AND `parent_id` = 0 ) AND `tao_comment`.`delete_time` = '0' LIMIT 1 [ RunTime:0.000408s ]
SELECT `id`,`title`,`pv`,`cate_id`,(SELECT COUNT(*) AS think_count FROM `tao_comment` `count_table` WHERE ( ( `count_table`.`article_id` =tao_article.id ) ) AND `count_table`.`delete_time` = '0') AS `comments_count` FROM `tao_article` WHERE ( `status` = '1' AND `delete_time` = 0 AND `create_time` BETWEEN 1735660800 AND 1767196799 ) AND `tao_article`.`delete_time` = '0' ORDER BY `pv` DESC LIMIT 5 [ RunTime:0.000448s ]
SELECT `id` FROM `tao_article` WHERE `user_id` = 17 [ RunTime:0.000261s ]
SELECT COUNT(`id`) AS think_count FROM `tao_collection` WHERE `article_id` IN (57,58,59,60,61,62,63,64,65,66,67,68,79) LIMIT 1 [ RunTime:0.000339s ]
SHOW FULL COLUMNS FROM `tao_article_zan` [ RunTime:0.000617s ]
SELECT COUNT(`id`) AS think_count FROM `tao_article_zan` WHERE `article_id` IN (57,58,59,60,61,62,63,64,65,66,67,68,79) LIMIT 1 [ RunTime:0.000305s ]
SHOW FULL COLUMNS FROM `tao_news_cate` [ RunTime:0.000759s ]
SELECT `id`,`cate_name` FROM `tao_news_cate` WHERE `parent_id` = 0 AND `status` = 1 ORDER BY `sort` ASC LIMIT 8 [ RunTime:0.000342s ]
SELECT `id`,`cate_name` FROM `tao_news_cate` WHERE `parent_id` = 0 AND `status` = 1 ORDER BY `sort` ASC LIMIT 8 [ RunTime:0.000355s ]