SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001137s ]
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` = '12807' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000391s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12807 [ RunTime:0.002455s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (3498,12186,21850,21423,6737,19710,14120,23910,28812,9583,23832,322,5899,12830,20341,20760,25676,18116,22762,5783,30531,3531,23004,11120) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000686s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 533 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012899s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12807 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000522s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12807 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000454s ]