SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001120s ]
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` = '31985' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000308s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31985 [ RunTime:0.001893s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (2272,14442,30982,32120,31135,18643,21115,7857,17497,14855,19373,29315,12201,6676,7446,23094,22967,20379,26326,16326,1019,31873,3664,22243) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000480s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 538 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.014836s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31985 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000494s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31985 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000536s ]