SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001257s ]
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` = '31370' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.002324s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31370 [ RunTime:0.001728s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (26200,21931,26226,18167,2342,12722,19769,3737,29527,13781,2259,4026,922,5028,12489,867,17137,23953,11723,22107,5023,30562,29837,17467) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000520s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 506 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012954s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31370 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000504s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31370 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000433s ]