SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001448s ]
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` = '248' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000348s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 248 [ RunTime:0.001818s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (764,2308,8908,23768,26620,6918,25014,28356,3520,17233,30246,20804,3589,27728,662,7830,14947,2378,14237,14071,11555,3098,30463,8727) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000514s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 493 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012064s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 248 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000480s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 248 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000478s ]