SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001268s ]
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` = '2297' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000410s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 2297 [ RunTime:0.002023s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (23305,1530,16930,19824,18543,31806,14048,22731,21358,10632,1937,1583,18704,18417,26411,10297,19501,4850,16508,16400,15881,25146,16103,14026) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000785s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 510 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012843s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 2297 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000494s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 2297 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000476s ]