ajax({ url: myUrl, type: 'post', dataType: 'json',//这句要跟你服务器返回的application/json 对应 success: function (data, status) { }, error:function(err){ } })