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` = '1159' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000429s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 1159 [ RunTime:0.004210s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (1867,11767,14487,10575,13009,13260,12411,8464,30934,23134,13206,28062,11473,26275,29600,14966,13187,25221,680,28316,3549,493,29437,13221) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000531s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 500 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013549s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 1159 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.001806s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 1159 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000386s ]