SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001204s ]
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` = '8123' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000535s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 8123 [ RunTime:0.002178s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (14854,31141,16743,20969,1118,6722,5415,17449,4883,5456,13693,27701,22297,28273,23629,25725,24308,3819,8342,15108,26797,26257,15203,30834) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000531s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 515 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012645s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 8123 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000544s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 8123 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000544s ]