SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001336s ]
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` = '31478' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000361s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31478 [ RunTime:0.003167s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (25190,25336,9438,23035,3306,11560,23562,22186,25149,68,16286,11939,26842,4925,4554,19194,22740,5152,11932,32191,10183,21961,27481,10782) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000522s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 525 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012670s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31478 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000543s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31478 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000519s ]