SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001037s ]
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` = '31596' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000454s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31596 [ RunTime:0.003184s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (31642,27783,12534,7463,276,6088,9253,7082,11331,20823,7640,535,17085,24070,27812,8981,4829,1997,31728,19923,25171,11686,2317,7990) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000549s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 506 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012917s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31596 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000478s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31596 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000493s ]