SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001207s ]
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` = '31059' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000410s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31059 [ RunTime:0.002278s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (20147,13286,15302,12014,11478,23782,9289,7947,6720,24378,7235,28511,6521,9391,21660,3219,634,27072,1712,23122,32027,7839,3196,6588) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000665s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 518 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012582s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31059 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000581s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31059 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000530s ]