SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001124s ]
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` = '20421' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000349s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20421 [ RunTime:0.001771s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (5639,10335,13102,1420,6254,67,23448,29153,8801,4988,349,22591,25553,24415,13387,9889,5534,28551,569,7916,18557,9657,21026,1461) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000473s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 518 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013379s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20421 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000455s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20421 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000329s ]