SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001643s ]
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` = '31237' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001420s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31237 [ RunTime:0.002497s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (24884,6068,3705,22103,4960,21768,8052,30797,18325,17796,19893,18162,21475,2249,21974,20409,19125,944,29621,8478,2992,19265,552,20988) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000549s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 504 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.016557s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31237 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000537s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31237 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000554s ]