SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001232s ]
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` = '2789' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000458s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 2789 [ RunTime:0.002616s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (23933,13768,19841,7561,2886,12135,28068,18161,30549,22771,20232,14620,30667,29501,16078,6412,29770,474,21604,4027,28175,7544,6417,13622) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000484s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 494 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013402s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 2789 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000645s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 2789 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000508s ]