SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001144s ]
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` = '3001' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000347s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 3001 [ RunTime:0.001857s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (31730,5050,31285,9725,19147,8538,6810,1723,27443,280,17518,3672,6871,26373,22388,11341,20129,31690,13448,7683,16706,10796,9667,1875) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000545s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 518 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012305s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 3001 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000461s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 3001 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000543s ]