SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.003385s ]
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` = '24423' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.003415s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 24423 [ RunTime:0.004706s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (29365,11829,10323,18074,17921,30078,28421,23600,7195,30757,29128,23546,23942,18405,19584,284,8757,28694,24165,14062,24896,11131,13985,21438) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000548s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 502 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.021079s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 24423 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.002422s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 24423 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.002558s ]