SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001318s ]
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` = '1148' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000645s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 1148 [ RunTime:0.001934s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (28285,27395,19284,8087,27663,2935,13497,18599,20137,2588,23651,31152,25560,14947,12251,6806,619,18537,31672,7836,29260,4481,21139,23087) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000717s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 500 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013951s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 1148 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000884s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 1148 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000547s ]