SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001209s ]
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` = '151' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000384s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 151 [ RunTime:0.002219s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (11922,8903,27787,17694,11876,24389,10432,32028,10843,13373,8291,28980,5262,3571,30025,20087,14913,30655,1165,16581,2375,9282,20968,16287) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000520s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 492 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012057s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 151 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000484s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 151 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000421s ]