SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001141s ]
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` = '12816' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000356s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12816 [ RunTime:0.004718s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (23601,747,23352,5689,21523,2882,12118,8058,17946,381,10202,6762,779,16437,9052,1420,15947,500,20149,13385,4905,25209,17278,28968) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000589s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 509 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.015574s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12816 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000434s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12816 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000465s ]