Commit 95f9acc9 by dabai

footseen

parent 3e498c0a
Showing with 26 additions and 1 deletions
......@@ -60,7 +60,7 @@
var data = getRequest();
var topicId = data.topicId;
var uid = data.uid;
var vest = data.vest;
//获取title
$.ajax({
url:$ip+'/active201904/getUserInfo.html',
......@@ -241,6 +241,7 @@
return;
}
if(vest ==50 || vest == 60){
//设备为ios
if(/iphone|ipad|ipod/.test(ua2)){
var params = {
......@@ -280,6 +281,30 @@
}
}
} else if(vest == 41) {
if(/iphone|ipad|ipod/.test(ua2)){
var params = {
icid:'iosftsB',
}
ShareTrace.init({
appkey: "93adc025c1e699fe", // 此值必填
param: JSON.stringify(params),
success: function() {
console.log("init success...")
},
error: function(msg) {
console.log(msg)
}
});
setTimeout(function(){
ShareTrace.download();
},500)
} else {
window.location.href = 'https://sakura.show/dlpk';
}
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment