SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001745s ]
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` = '6797' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000496s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 6797 [ RunTime:0.007408s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (1677,16663,30822,29029,15015,30740,5193,13295,20046,30160,31849,13892,18328,4910,23705,19199,13769,23885,11233,24356,9857,23645,15216,7998) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000679s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 520 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.016962s ]