SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001102s ]
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` = '29858' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000331s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 29858 [ RunTime:0.001684s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (20110,18449,15074,31138,1547,1517,24961,16817,19161,27818,108,15280,14162,5049,24207,24107,23166,7279,21674,44,22416,15686,14271,20585) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000636s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 512 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012016s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 29858 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000473s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 29858 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000497s ]