SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001171s ]
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` = '31185' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000625s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31185 [ RunTime:0.002006s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (26813,25935,24649,21627,4977,19839,6556,12027,20218,14,17939,25309,23194,30315,1174,13300,12736,3045,1649,20921,8813,4496,26848,3778) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000666s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 512 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012684s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31185 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000536s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31185 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000393s ]