SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001205s ]
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` = '12197' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000417s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12197 [ RunTime:0.001663s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (24140,24154,23224,17937,16437,16686,32111,5041,31659,31279,31833,2040,13297,18295,10727,12867,2802,8518,6433,16186,10824,21134,1542) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000527s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 499 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013245s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12197 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000479s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12197 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000532s ]