SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001288s ]
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` = '31789' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000414s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31789 [ RunTime:0.001869s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (9248,30144,15171,29167,857,9261,13053,4632,30034,20856,1601,14895,17449,28866,24475,20970,7037,23183,25026,10748,28598,25686,23836,17120) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000674s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 496 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012550s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31789 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000611s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31789 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000414s ]