SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001130s ]
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` = '31312' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000400s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31312 [ RunTime:0.002902s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (22118,27151,1889,30212,22975,3899,1233,28874,8599,27827,19291,8678,14632,12978,6685,25092,10277,16833,17927,8329,1871,1481,23744,21755) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000496s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 522 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.016361s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31312 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000524s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31312 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000483s ]