SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001177s ]
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` = '12520' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000346s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12520 [ RunTime:0.002097s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (14810,31451,8324,6987,3506,23128,24800,15766,4682,11184,3133,18396,48,15865,29075,4809,8451,5675,10067,17876,25837,21221,9662,27731) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000672s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 522 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012712s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12520 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000460s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12520 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000459s ]