SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001172s ]
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` = '512' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000400s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 512 [ RunTime:0.001789s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (5644,26829,29349,29889,30238,11861,6158,27933,22612,26852,28960,22474,31838,15739,12557,12619,9552,13089,10524,28700,20934,23534,26479,16262) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000509s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 495 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012049s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 512 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000457s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 512 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000483s ]