SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001246s ]
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` = '24123' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000389s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 24123 [ RunTime:0.002028s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (27850,6023,27080,22857,31694,24777,17737,1575,28929,14536,539,25814,21004,30669,4730,31712,3094,1994,12595,17250,12046,12186,29267,2837) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000665s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 506 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013179s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 24123 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.003455s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 24123 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000547s ]