SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.003887s ]
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` = '31057' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001050s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31057 [ RunTime:0.002945s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (12682,12546,25111,28870,5388,4172,9143,28891,22399,3308,15581,4204,3017,19962,551,23449,11673,19729,12204,22078,13676,11538,18234,15828) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.009574s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 535 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.022155s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31057 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000416s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31057 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000520s ]