ajax跨域

$.ajax({
url: 'url',
type : "GET",
dataType: "jsonp",
jsonp:"jsonpCallback",
success: function (data) {
console.log("aaaaa");
console.log("res",data);
},
err: function (err) {
console.log("err",err);
}
})
posted @ 2019-07-05 17:49  四叶草2010  阅读(82)  评论(0编辑  收藏  举报