SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001114s ]
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` = '31004' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000484s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31004 [ RunTime:0.002195s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (218,27989,30158,22573,23401,3154,28383,18137,21544,25095,3334,564,15305,17871,18592,13588,30945,7981,7142,19690,20175,20561,29429,25721) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000460s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 496 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012670s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31004 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000440s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31004 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000515s ]