SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.002332s ]
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` = '2495' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.002031s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 2495 [ RunTime:0.003288s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (4883,14607,3297,22112,1771,7905,5401,12004,2026,2298,32042,29699,21160,15130,18832,4302,202,26129,19212,2343,20710,22936,6450,22985) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000534s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 512 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012930s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 2495 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000413s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 2495 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000440s ]