SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001138s ]
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` = '1041' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000349s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 1041 [ RunTime:0.002437s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (3646,8227,10427,20983,29834,15365,7497,4203,17957,29769,18900,29641,17683,7884,18750,26050,1987,6716,24528,21224,3185,26714,5464,26593) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000571s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 499 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012933s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 1041 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000479s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 1041 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000570s ]