SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001227s ]
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` = '31765' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001213s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31765 [ RunTime:0.004432s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (7979,1244,26202,9680,4877,3782,4893,29102,21430,13010,30362,23750,1705,31467,23132,20356,28586,26083,31939,20321,26433,12604,5582,22843) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000774s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 525 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.017562s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31765 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000642s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31765 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000771s ]