SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001233s ]
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` = '24765' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000415s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 24765 [ RunTime:0.001833s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (27326,32023,1552,25014,17122,10281,11412,27701,18876,15121,4148,20837,4726,15082,30417,1465,2863,13920,5280,26390,4503,14058,23051,21907) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000521s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 501 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012270s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 24765 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000602s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 24765 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000560s ]