SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001127s ]
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` = '31818' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000382s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 31818 [ RunTime:0.001649s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (6182,31467,24142,3038,19425,16283,24273,20987,16139,27228,578,12486,25433,9644,27299,32075,5530,25842,19939,25255,516,29043,27475,8333) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000479s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 514 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012328s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 31818 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000432s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 31818 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000473s ]