SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001200s ]
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` = '20151' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000792s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20151 [ RunTime:0.001688s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (22651,12296,29684,12307,28834,29650,11448,31569,17551,7202,20359,31145,20415,24048,2128,21258,26917,20558,11974,19608,7611,20254,19923,26164) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000692s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 531 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013953s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20151 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000438s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20151 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000433s ]