SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.002287s ]
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` = '20231' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000610s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20231 [ RunTime:0.001929s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (27576,28005,12482,11025,26535,20957,31799,30333,29262,210,24413,4429,16104,2705,4441,31192,27752,21580,25323,19938,25171,15770,5150,21774) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000976s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 498 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.014073s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20231 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000953s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20231 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.001269s ]