...
|
...
|
@@ -35,7 +35,7 @@ |
|
|
}
|
|
|
|
|
|
queryString = getQueryString();
|
|
|
downUrl = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445';
|
|
|
downUrl = 'http://cdn.yoho.cn/app-downfiles/yohoBuy_YOHO_2953.apk';
|
|
|
//downUrl = "https://itunes.apple.com/cn/app/yoho!-you-huo/id490655927?mt=8";
|
|
|
var appkey = queryString.appkey;
|
|
|
|
...
|
...
|
@@ -47,7 +47,6 @@ |
|
|
downUrl = "https://itunes.apple.com/cn/app/mars-xin-xian-hao-qu-chu-yu/id1056487123?l=en&mt=8";
|
|
|
//downUrl = "http://yoho-apps.qiniudn.com/YohoMars.apk";
|
|
|
}
|
|
|
|
|
|
if (agent.indexOf("like mac os x") > 0) {
|
|
|
var regStr_saf = /os [\d._]*/gi ;
|
|
|
var verinfo = agent.match(regStr_saf) ;
|
...
|
...
|
@@ -56,7 +55,7 @@ |
|
|
type = 'ios';
|
|
|
appid = '490655927';
|
|
|
td = window.screen.width + '_' + window.screen.height + '_' + type + '_' + version;
|
|
|
|
|
|
downUrl = 'https://itunes.apple.com/cn/app/yoho!-you-huo/id490655927?mt=8';
|
|
|
} else if (agent.indexOf('android') > -1 || agent.indexOf('linux') > -1) {
|
|
|
var indextd = agent.indexOf('_td');
|
|
|
var index = agent.indexOf(' build');
|
...
|
...
|
@@ -89,7 +88,6 @@ |
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
method: 'POST',
|
|
|
url: 'http://union.yoho.cn/union/ClickUnionRest/addUnion',
|
...
|
...
|
@@ -103,7 +101,7 @@ |
|
|
appid: queryString.appid ? queryString.appid : appid,
|
|
|
appkey: queryString.appkey,
|
|
|
idfa : queryString.idfa ? queryString.idfa : queryString.IDFA,
|
|
|
imei:queryString.imei?queryString.imei:queryString.IMEI,
|
|
|
imei:queryString.imei?queryString.imei:queryString.IMEI
|
|
|
},
|
|
|
complete: function() {
|
|
|
|
...
|
...
|
|