···
$.ajax({
url: zfyurl + "/third/api/file/downfile",
data: {
'downloadUrl': 'https://physics.nankai.edu.cn/_upload/article/files/f1/69/c61a06c54f02b1cad416e2809b8d/ce558c5f-1848-4d71-9260-8aed4b1e1896.doc'
},
type: "get",
dataType: 'json',
// jsonpCallback: "success_jsonpCallback",
success: res => {
this.urlss = res.data
// console.log(res)
console.log('haha'+JSON.stringify(res))
// console.log('mounted'+this.urlss)
},
error:function(xhr,type,errorThrown){
//异常处理;
console.log('xhr:'+JSON.stringify(xhr));
console.log('errorThrown:'+errorThrown);
console.log('type:'+type);
}
})
···
0 个回复