SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.006921s ]
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` = '1297' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.001466s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 1297 [ RunTime:0.008121s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (2557,13074,20173,11226,31566,12039,29984,13589,30426,20607,22257,15358,19908,13203,10569,24787,15580,23804,16261,17507,4766,10880,22508,21859) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.002898s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 501 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.018976s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 1297 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000345s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 1297 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000385s ]