SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001172s ]
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` = '30813' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000389s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 30813 [ RunTime:0.002403s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (28661,18199,24660,17130,2377,29774,1484,13280,18286,2717,22756,4297,30104,11941,14805,20320,13588,14118,22665,22279,5353,3705,9533,26724) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000531s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 494 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012357s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 30813 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000463s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 30813 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000438s ]