SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001339s ]
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` = '12790' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001694s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12790 [ RunTime:0.003502s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (20797,10582,26022,19151,19001,26365,17967,17911,21326,6965,12564,30427,25081,394,31632,10962,26503,29135,13711,9085,20076,23350,21941,27356) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.002180s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 502 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.018674s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12790 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000638s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12790 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.004663s ]