SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.002786s ]
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` = '505' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.004463s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 505 [ RunTime:0.003583s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (27257,11426,3831,1124,8519,6825,15819,9735,5082,12577,9171,20647,26144,11024,18760,8017,1749,28320,9949,4249,21406,6766,24386,19750) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000522s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 495 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012769s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 505 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000468s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 505 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000333s ]