SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001338s ]
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` = '502' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000331s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 502 [ RunTime:0.005067s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (14282,31665,2205,22124,30702,10356,6804,20942,31343,17743,29550,24133,18030,31187,19526,12398,9229,18133,1018,13285,20118,12705,28326,6008) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.003923s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 494 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.023422s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 502 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000496s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 502 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.002818s ]