时间:2021-07-01 10:21:17 帮助过:6人阅读
<a class="url" apkids="${apk[0]}" href="javascript:void(0);">view</a>
$(function(){
$(".url").click(function(){
var apkID=$(this).attr("apkids");
jQuery.ajax({
type:"post",
url:"<c:url value='apkProToSign!getReportUrl.do'/>",
data:{ apkID:apkID },
async:true,
success:function(data){
if(data=='1'){
alert("No report data!");
}else{
if(data.length>0){
window.location.href=data;
}
}
}
});
})
})