SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.005292s ]
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` = '790' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.002073s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 790 [ RunTime:0.002923s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (20809,21371,24330,10173,32171,22192,25572,15459,7344,30825,25517,325,14961,9909,16916,3499,27543,19629,29461,20542,4836,28956,14646,3164) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000783s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 497 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.021491s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 790 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000689s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 790 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000950s ]