SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001145s ]
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` = '506' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000432s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 506 [ RunTime:0.001803s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (5488,16281,13022,5836,18633,30318,2247,10831,14962,15440,19143,2736,31330,5397,19891,26830,18370,18428,25215,30931,29078,12013,30982,24893) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000524s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 495 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013152s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 506 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001262s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 506 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000514s ]