SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001168s ]
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` = '24586' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000400s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 24586 [ RunTime:0.001830s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (10343,22207,1789,8520,10272,3544,17032,4388,10420,27780,19366,4265,30689,24698,8319,26958,30485,28772,6390,27867,20414,23002,21821,20804) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000553s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 540 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013055s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 24586 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000466s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 24586 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000483s ]