Authored by ping

add mars and now

... ... @@ -36,8 +36,18 @@
return vars;
}
queryString = getQueryString();
downUrl = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.yoho&g_f=995445';
//downUrl = "https://itunes.apple.com/cn/app/yoho!-you-huo/id490655927?mt=8";
var appkey = queryString.appkey;
if (appkey == "yoho") {
//yohonow
downUrl = "http://a.app.qq.com/o/simple.jsp?pkgname=cn.yoho.magazine#opened";
} else if (appkey == "mars") {
//mars
downUrl = "https://itunes.apple.com/cn/app/mars-xin-xian-hao-qu-chu-yu/id1056487123?l=en&mt=8";
}
if (agent.indexOf("like mac os x") > 0) {
var regStr_saf = /os [\d._]*/gi ;
... ... @@ -79,7 +89,7 @@
//downUrl = 'http://cdn.yoho.cn/app-downfiles/yohoBuy_YOHO_2953.apk';
}
queryString = getQueryString();
$.ajax({
method: 'POST',
... ...