$.ajax({

type :"POST",

async:false,

data : dataInfo,

timeout:300000,

contentType: "application/x-www-form-urlencoded",

url : abc,

dataType:"json",

success : function(response) {

result=response;

},

error : function(XMLHttpRequest, textStatus, errorThrown, data) {

alert("数据有误,请审核!");

}

});

利用POST方式,对应的contentType应该为application/x-www-form-urlencoded

利用GET方式,对应的contentType应该为application/json或者text