SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.004321s ]
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` = '5798' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.004695s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 5798 [ RunTime:0.003150s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (9326,26645,16555,27410,24599,19408,8582,9437,18528,239,17154,23890,12741,12034,27244,5748,220,26164,13593,25317,17433,22745,1344,28098) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.003835s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 538 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012790s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 5798 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001906s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 5798 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.001394s ]