SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.004021s ]
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` = '20238' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001804s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 20238 [ RunTime:0.003038s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (14817,19794,12000,8177,9324,4395,14316,5053,20581,5567,3836,7035,28168,22937,23323,26677,27593,19252,31636,8713,9036,2651,7929,13491) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.004687s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 536 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.029478s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 20238 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.002593s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 20238 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000682s ]