SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.003272s ]
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` = '31786' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.002722s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31786 [ RunTime:0.002895s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (27688,10807,25712,28383,14247,10788,13220,24570,29632,28829,30310,16,12010,19157,3781,2034,1851,22308,8046,1892,15908,5068,24625,15968) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000441s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 528 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.016686s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31786 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.004067s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31786 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000509s ]