SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001103s ]
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` = '12798' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000314s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12798 [ RunTime:0.001772s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (19773,30546,4067,11203,10182,10551,24582,2855,24045,14235,23279,10499,2086,18916,3009,5649,30337,1101,2130,1169,15629,6101,23349,19510) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000510s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 528 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013440s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12798 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000491s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12798 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000537s ]