SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001201s ]
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` = '1029' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000330s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 1029 [ RunTime:0.002302s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (31256,32195,29000,28047,15814,22288,16896,7026,29975,10261,7689,31433,27940,23418,11483,13253,27839,25536,28086,3835,22677,16259,2316,14691) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000563s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 499 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012887s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 1029 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000580s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 1029 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000552s ]