SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001385s ]
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` = '31268' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000345s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31268 [ RunTime:0.001596s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (27298,19579,18231,22991,6705,22822,25315,3464,26006,6299,6157,29629,27489,6986,23629,13234,31139,25432,3577,24214,17870,15051,1923,29319) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000501s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 529 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012567s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31268 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000528s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31268 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000512s ]