SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001168s ]
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` = '30629' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000320s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 30629 [ RunTime:0.003115s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (3165,27792,16090,27040,20139,15751,10274,6306,5315,2294,8106,5348,9158,16700,19940,12335,31224,14011,30586,19756,15613,24419,29109,12949) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000535s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 524 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012479s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 30629 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000527s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 30629 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000403s ]