$.ajax({
//要用post方式
type: "Post",
//方法所在页面和方法名
url: "http://test.peiwoapi.com:8920/report/list?uid=1&page=1&gender=3&sign=0c44ee473ab5362dae57b45575521bd0&callback=callback",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(data) {
alert("success");
},
error: function(err) {
alert("5454"+err.code);
}
});
试试我的这个方式,关掉异步,用json不用jsonp