Commit 95f9acc9 by dabai

footseen

parent 3e498c0a
Showing with 28 additions and 3 deletions
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
var data = getRequest(); var data = getRequest();
var topicId = data.topicId; var topicId = data.topicId;
var uid = data.uid; var uid = data.uid;
var vest = data.vest;
//获取title //获取title
$.ajax({ $.ajax({
url:$ip+'/active201904/getUserInfo.html', url:$ip+'/active201904/getUserInfo.html',
...@@ -241,7 +241,8 @@ ...@@ -241,7 +241,8 @@
return; return;
} }
//设备为ios if(vest ==50 || vest == 60){
//设备为ios
if(/iphone|ipad|ipod/.test(ua2)){ if(/iphone|ipad|ipod/.test(ua2)){
var params = { var params = {
icid:'iosfts', icid:'iosfts',
...@@ -279,7 +280,31 @@ ...@@ -279,7 +280,31 @@
} }
} }
} }
} 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