SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001451s ]
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` = '31315' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000497s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31315 [ RunTime:0.003147s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (6254,4295,24328,11653,12491,31081,5559,19840,12162,24723,22225,18295,30671,25738,22507,8472,17002,11380,17938,11008,23231,1264,8063,15536) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000550s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 506 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012507s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31315 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000450s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31315 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000526s ]