SHOW FULL COLUMNS FROM `tool_category` [ RunTime:0.001805s ]
UPDATE `tool_category` SET `views` = `views` + 8 WHERE `id` = 857 [ RunTime:0.004803s ]
SHOW FULL COLUMNS FROM `tool_site` [ RunTime:0.001348s ]
SELECT COUNT(*) AS think_count FROM `tool_site` WHERE `category_id` = 857 AND `switch` = 1 [ RunTime:0.008263s ]
SELECT id,url,name,image,keywords,description,status,views,updatetime,createtime,(select name FROM tool_category where tool_category.id=tool_site.category_id)as Cname FROM `tool_site` WHERE `category_id` = 857 AND `switch` = 1 ORDER BY `id` DESC LIMIT 0,21 [ RunTime:0.001602s ]