SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.003412s ]
SELECT `a`.`hp`,`a`.`sl`,`a`.`xl`,`a`.`yy`,b.name as Cname,b.id as Cid FROM `tool_couplet` `a` INNER JOIN `tool_category` `b` ON `a`.`category_id`=`b`.`id` WHERE `a`.`id` = '5477' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000530s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 5477 [ RunTime:0.008086s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (20475,20768,6996,24029,21081,31178,22765,24722,15293,30198,12858,3399,10930,25912,4032,7277,32113,25350,7095,26808,28040,24769,1278,16116) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000623s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 520 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.051505s ]