SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001147s ]
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` = '12071' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000317s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12071 [ RunTime:0.001710s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (651,28821,21027,24029,7307,31582,24502,1475,25875,20829,6516,18207,25176,24977,14939,10354,11804,29036,8878,8694,30208,19448,8589,27893) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000524s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 522 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013578s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12071 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000547s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12071 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000456s ]