SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001283s ]
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` = '146' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000693s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 146 [ RunTime:0.003334s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (2450,5409,12978,4263,30984,3489,6007,24775,8550,3250,14140,16055,24835,16310,1735,8022,30091,15004,9426,24890,17286,15404,21377,3855) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000751s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 492 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012500s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 146 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000705s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 146 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000719s ]