SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.002399s ]
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` = '18251' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001324s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 18251 [ RunTime:0.002325s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (2102,31015,24420,7071,16159,24609,17910,30451,10723,6313,278,13839,20229,6426,21608,21887,5167,29046,1886,5835,21604,15728,4223,3982) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.004194s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 502 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.039890s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 18251 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000770s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 18251 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000587s ]