SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001129s ]
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` = '12796' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000479s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12796 [ RunTime:0.003595s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (5178,15223,19639,7070,9047,7110,23734,1825,19177,5428,13941,14258,22725,14307,4622,25834,11466,20633,30126,15043,23442,12016,27047,19356) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000512s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 496 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.021683s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12796 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000383s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12796 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.001374s ]