SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001161s ]
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` = '31027' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000368s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31027 [ RunTime:0.002270s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (14543,24422,20603,31221,13018,17557,27211,16402,26711,11280,28265,175,16682,14678,17647,20072,6980,26237,4841,25356,28989,29520,31149,24911) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.006627s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 542 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.015622s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31027 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000468s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31027 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000547s ]