SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001524s ]
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` = '3122' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000473s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 3122 [ RunTime:0.003235s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (30311,12737,24025,28214,26423,22581,8998,10158,25708,9650,20799,9290,24042,31630,21112,23405,17937,20125,26924,23823,30761,6189,13052,24482) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000887s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 514 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.018851s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 3122 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000363s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 3122 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000499s ]