SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001500s ]
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` = '662' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001526s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 662 [ RunTime:0.002215s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (15091,6490,14055,8421,13306,24219,16385,19859,19651,10925,5184,29507,19148,12073,6600,29330,15399,4000,18926,29659,28438,22059,27381,18909) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000492s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 496 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.020943s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 662 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000527s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 662 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.001685s ]