Ajax - LiangYiDong/study GitHub Wiki
接口的请求:
$.ajax({ url: 'http://ddddd', type: 'get/post', dataType: 'jsonp/json', data:[ //要传的键之对 ] }).done(function(re){ //处理返回的结果 })
接口的请求:
$.ajax({ url: 'http://ddddd', type: 'get/post', dataType: 'jsonp/json', data:[ //要传的键之对 ] }).done(function(re){ //处理返回的结果 })