SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001868s ]
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` = '20846' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000331s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20846 [ RunTime:0.002796s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (14372,9294,17350,9065,3916,31660,9401,24655,16153,9016,6508,4792,23212,26444,29415,14275,17967,18265,15741,29772,31073,25128,12736,4108) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000522s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 540 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012272s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20846 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000434s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20846 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000451s ]