Authored by zhengwen.ge

代码优化

... ... @@ -178,7 +178,7 @@ public class ClickUnionRest {
bo.setAppid("490655927");
url = "https://itunes.apple.com/cn/app/yoho!-you-huo/id490655927?mt=8";
} else {
int index = agent.indexOf("android");
int index = agent.lastIndexOf("android");
if (index > 0) {
String version = agent.substring(index + 8, index + 11);
bo.setTd("android_" + version.replaceAll("_", ""));
... ...