SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.003473s ]
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` = '666' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000817s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 666 [ RunTime:0.001455s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (21453,16100,8458,5187,26021,6015,1462,26703,8287,26006,22688,4218,28596,7699,24332,27344,26256,30362,14020,3234,18294,26682,17630,29221) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000606s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 496 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.015111s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 666 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000503s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 666 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000698s ]