$.ajax({type:"post",url:"/lottery/join/football-single.shtml",data:"stoke="+stoke,
dataType:"json",
success:function(json){
if(json.flag == '1'){
var str=null;
if(lotteryId==89)
str="/dcspf/fa/";
else if(lotteryId==92)
str="/dcbf/fa/";
else if(lotteryId==93)
str="/dcbqc/fa/";
else if(lotteryId==91)
str="/dcsxds/fa/";
else if(lotteryId==90)
str="/dczjqs/fa/";
window.open("/lottery/fbsgpartnernew/"+validationall.initdata.lotteryId+"_"+json.projectNo+"_detail/subscribeorder.shtml");
join.comeback();
clearItem();
}else{
alert(json.msg);
}
},
error:function(){
alert("网络错误!请刷新重试");
}
});
这个是我的代码,运维在服务器端做了下处理,但也只是把此链接指向了某服务器,现在被浏览器拦截,请问这个问题怎么解决????
dataType:"json",
success:function(json){
if(json.flag == '1'){
var str=null;
if(lotteryId==89)
str="/dcspf/fa/";
else if(lotteryId==92)
str="/dcbf/fa/";
else if(lotteryId==93)
str="/dcbqc/fa/";
else if(lotteryId==91)
str="/dcsxds/fa/";
else if(lotteryId==90)
str="/dczjqs/fa/";
window.open("/lottery/fbsgpartnernew/"+validationall.initdata.lotteryId+"_"+json.projectNo+"_detail/subscribeorder.shtml");
join.comeback();
clearItem();
}else{
alert(json.msg);
}
},
error:function(){
alert("网络错误!请刷新重试");
}
});
这个是我的代码,运维在服务器端做了下处理,但也只是把此链接指向了某服务器,现在被浏览器拦截,请问这个问题怎么解决????
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货