SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001425s ]
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` = '31167' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000446s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31167 [ RunTime:0.005184s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (24168,5473,4964,31294,31357,12855,31226,4790,12211,7786,10619,1917,23904,11469,27297,30627,20686,1644,26500,4953,30086,8162,22635,17494) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000603s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 500 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012858s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31167 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000458s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31167 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000609s ]