SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001473s ]
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` = '10255' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001642s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 10255 [ RunTime:0.003863s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (28546,6478,28969,25417,21035,6283,3742,12179,19625,11640,19056,3549,55,10542,6806,11796,5268,13051,25177,16713,25181,30796,8441,7885) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000580s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 512 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.020162s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 10255 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000350s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 10255 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.003018s ]