SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001103s ]
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` = '1295' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001181s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 1295 [ RunTime:0.002917s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (16570,27005,7064,4187,3030,30785,21452,16230,26488,29226,21009,12981,7953,4853,27371,26009,3130,23945,30009,13074,6302,16514,10259,26592) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000468s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 501 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013400s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 1295 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000621s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 1295 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000510s ]