SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001353s ]
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` = '1248' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000643s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 1248 [ RunTime:0.002047s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (19496,10779,6620,22937,29419,1431,20053,20163,22501,31471,1174,15085,2561,16815,14405,18100,19619,80,18175,9233,2847,24750,31238,16116) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000485s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 501 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.013131s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 1248 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000632s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 1248 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000481s ]