SHOW FULL COLUMNS FROM `tao_system` [ RunTime:0.000611s ]
SELECT `template` FROM `tao_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000214s ]
SHOW FULL COLUMNS FROM `tao_cate` [ RunTime:0.000546s ]
SELECT * FROM `tao_cate` WHERE `status` = '1' AND `delete_time` = 0 ORDER BY `sort` ASC [ RunTime:0.000326s ]
SHOW FULL COLUMNS FROM `tao_article` [ RunTime:0.000640s ]
SELECT id,title,content,status,cate_id,user_id,file_ids,is_top,is_hot,is_reply,pv,jie,upzip,downloads,tags,title_color,create_time,if(create_time<1631859255,1,2) as type FROM `tao_article` WHERE ( `status` = '1' AND `id` = 511 ) AND `tao_article`.`delete_time` = '0' LIMIT 1 [ RunTime:0.000335s ]
SELECT `id`,`catename`,`ename` FROM `tao_cate` WHERE ( `delete_time` = 0 AND `id` = 6 ) AND `tao_cate`.`delete_time` = '0' [ RunTime:0.000271s ]
SHOW FULL COLUMNS FROM `tao_user` [ RunTime:0.000483s ]
SELECT `id`,`name`,`nickname`,`user_img`,`area_id`,`vip` FROM `tao_user` WHERE ( `id` = 658 ) AND `tao_user`.`delete_time` = '0' [ RunTime:0.000229s ]
SHOW FULL COLUMNS FROM `tao_upload_file` [ RunTime:0.000344s ]
SELECT * FROM `tao_upload_file` WHERE `id` = in [ RunTime:0.000175s ]
SELECT `detpl` FROM `tao_cate` WHERE `id` = 6 LIMIT 1 [ RunTime:0.000255s ]
SHOW FULL COLUMNS FROM `tao_comment` [ RunTime:0.000385s ]
SELECT COUNT(*) AS think_count FROM `tao_comment` WHERE ( `article_id` = 511 AND `status` = '1' ) AND `tao_comment`.`delete_time` = '0' [ RunTime:0.000227s ]
SELECT * FROM `tao_comment` WHERE ( `article_id` = 511 AND `status` = '1' ) AND `tao_comment`.`delete_time` = '0' ORDER BY `cai` ASC,`create_time` ASC LIMIT 0,10 [ RunTime:0.000215s ]
UPDATE `tao_article` SET `pv` = `pv` + 1 WHERE ( `id` = 511 ) AND `tao_article`.`delete_time` = '0' [ RunTime:0.000961s ]
SELECT `pv` FROM `tao_article` WHERE `id` = 511 LIMIT 1 [ RunTime:0.000168s ]
SELECT `id`,`title`,(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 1704038400 AND 1735660799 ) AND `tao_article`.`delete_time` = '0' ORDER BY `comments_count` DESC LIMIT 10 [ RunTime:0.004470s ]
SHOW FULL COLUMNS FROM `tao_slider` [ RunTime:0.000515s ]
SELECT * FROM `tao_slider` WHERE ( `slid_status` = '1' AND `delete_time` = 0 AND `slid_type` = 4 AND `slid_over` >= 1732927878 ) AND `tao_slider`.`delete_time` = '0' [ RunTime:0.000298s ]
SELECT * FROM `tao_slider` WHERE ( `slid_status` = '1' AND `delete_time` = 0 AND `slid_type` = 7 AND `slid_over` >= 1732927878 ) AND `tao_slider`.`delete_time` = '0' [ RunTime:0.000281s ]