SHOW FULL COLUMNS FROM `tool_couplet` [ RunTime:0.001089s ]
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` = '12542' AND `a`.`switch` = '1' LIMIT 1 [ RunTime:0.000705s ]
UPDATE `tool_couplet` SET `views` = `views` + 1 WHERE `id` = 12542 [ RunTime:0.001590s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` IN (24598,31690,11272,24025,4683,9585,13416,27778,1874,22465,1883,30642,10591,23843,7731,6950,19445,11477,8580,23942,22488,16771,29995,14960) AND `switch` = 1 ORDER BY `id` DESC [ RunTime:0.000456s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `category_id` = 501 AND `switch` = 1 ORDER BY rand() LIMIT 24 [ RunTime:0.012627s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` < 12542 AND `switch` = 1 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000578s ]
SELECT `id`,`hp` FROM `tool_couplet` WHERE `id` > 12542 AND `switch` = 1 ORDER BY `id` LIMIT 1 [ RunTime:0.000652s ]