SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001228s ]
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` = '30580' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000397s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 30580 [ RunTime:0.003576s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (23866,10967,13419,1350,23833,24795,28363,26716,31229,16851,9689,20449,9911,15477,14162,10722,26592,1587,19107,13213,31955,26553,30495,11514) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000613s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 519 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013026s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 30580 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000503s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 30580 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000569s ]