SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001082s ]
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` = '20854' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000312s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20854 [ RunTime:0.002844s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (16624,15015,10319,14921,14476,23021,20207,13411,5192,7987,18084,24890,5412,22171,14273,15904,4564,6834,10962,22216,32019,20745,12916,12149) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000531s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 535 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012907s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20854 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000457s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20854 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000528s ]