SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001083s ]
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` = '29997' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000396s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 29997 [ RunTime:0.006629s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (25020,3339,28149,21925,5929,11447,13193,11057,7303,13585,18096,11670,11081,14706,21355,7489,28433,7985,8972,2497,28706,23994,28020,15738) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000582s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 515 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012329s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 29997 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000463s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 29997 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000473s ]