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` = '3016' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000423s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 3016 [ RunTime:0.002387s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (12311,27585,10654,8761,22524,20146,11889,22400,13145,21967,12647,29040,12105,4382,115,25273,20327,6172,30651,12731,29558,1911,26847,20976) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000533s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 512 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012425s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 3016 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000637s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 3016 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000454s ]