SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001105s ]
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` = '510' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000337s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 510 [ RunTime:0.002040s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (30548,10907,8310,23020,11926,31033,2351,15239,30433,17409,23593,17170,20454,21118,31976,19371,6127,15448,23963,2194,23190,9296,28069,8960) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000475s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 495 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.019413s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 510 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000581s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 510 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000388s ]