SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001329s ]
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` = '12117' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000998s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12117 [ RunTime:0.004995s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (27718,13917,3851,24244,7493,13711,7938,7168,24992,23957,14186,702,6284,3420,18423,14509,10169,23762,6070,25053,15655,1770,30410,26654) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.003449s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 494 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.014906s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12117 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000417s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12117 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000629s ]