SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001193s ]
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` = '31477' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000411s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31477 [ RunTime:0.001779s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (22995,20954,2759,17368,20435,9549,29306,19670,2480,2128,5852,2379,27710,26580,5619,853,26305,989,7172,1708,3551,29106,21727,26972) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000439s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 509 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012425s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31477 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000506s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31477 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000447s ]