SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001179s ]
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` = '12768' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000334s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12768 [ RunTime:0.006114s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (2836,20703,26085,3755,21084,5757,3080,23202,15393,16082,15895,15512,31651,17625,6744,29067,9781,8317,9670,12563,5065,9461,20498,4654) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000569s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 504 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.019547s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12768 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000469s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12768 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000476s ]