SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001372s ]
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` = '5007' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000660s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 5007 [ RunTime:0.001682s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (21481,23252,28318,29334,10858,2059,15159,25925,14341,14387,25361,14423,16886,16694,14561,27708,27703,31088,25824,18211,4028,11039,14904,14032) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000588s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 540 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.016620s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 5007 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000420s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 5007 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000544s ]