SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.004113s ]
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` = '30147' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000551s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 30147 [ RunTime:0.005629s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (1523,8700,3153,11165,6053,31626,25153,19780,14325,19367,6637,23062,17274,25011,845,26652,27035,87,20888,13071,14558,24182,16323,3905) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000612s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 508 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012970s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 30147 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000471s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 30147 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000572s ]