SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001360s ]
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` = '31145' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000370s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31145 [ RunTime:0.002161s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (11061,20442,28533,26418,11485,31053,12656,15874,17750,24047,29243,156,13035,25783,19415,14558,14394,11786,3470,3128,17062,11114,26158,5074) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000565s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 501 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.014182s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31145 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000458s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31145 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000480s ]