SHOW FULL COLUMNS FROM `gs_allclass` [ RunTime:0.009119s ]
SELECT COUNT(*) AS think_count FROM `gs_allclass` WHERE `pid` = 60 AND `status` = 1 [ RunTime:0.000568s ]
SELECT * FROM `gs_allclass` WHERE `id` = 60 LIMIT 1 [ RunTime:0.000470s ]
SELECT * FROM `gs_allclass` WHERE `pid` = 59 AND `status` = 1 [ RunTime:0.000414s ]
SHOW FULL COLUMNS FROM `gs_article` [ RunTime:0.007837s ]
SELECT * FROM `gs_article` WHERE `status` = 1 AND `pid` IN (51,56,57,58) ORDER BY `look` DESC,`id` DESC LIMIT 10 [ RunTime:0.000554s ]
SELECT COUNT(*) AS think_count FROM `gs_article` `Article` INNER JOIN `gs_allclass` `allclass` ON `allclass`.`id`=`article`.`pid` WHERE `Article`.`pid` = '60' AND `Article`.`status` = '1' [ RunTime:0.000905s ]
SELECT `Article`.*,allclass.id AS class_id,allclass.name AS class_name,allclass.pid AS class_pid,allclass.lei AS class_lei FROM `gs_article` `Article` INNER JOIN `gs_allclass` `allclass` ON `allclass`.`id`=`article`.`pid` WHERE `Article`.`pid` = '60' AND `Article`.`status` = '1' ORDER BY `addtime` DESC,`sort` DESC,`id` DESC LIMIT 0,15 [ RunTime:0.001091s ]
SHOW FULL COLUMNS FROM `gs_links` [ RunTime:0.007537s ]
SELECT * FROM `gs_links` WHERE `status` = 1 ORDER BY `id` [ RunTime:0.000359s ]