SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001302s ]
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` = '24172' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000436s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 24172 [ RunTime:0.008388s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (11753,12421,13243,2598,1513,20079,29281,23444,15057,1699,20780,29995,29252,23719,12238,26901,3618,21528,1554,21028,13988,21553,5187,21630) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.001080s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 522 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.016883s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 24172 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000531s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 24172 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000598s ]