SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001190s ]
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` = '31197' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000390s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31197 [ RunTime:0.003373s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (24,19912,18119,27194,28300,14976,14037,25101,20480,17359,15920,14894,747,29820,352,26422,12998,1941,21889,3551,26912,6706,31439,7038) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000534s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 500 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012759s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31197 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000503s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31197 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000552s ]