8-1 get8-2 $.ajax 8-1 get$.get(url,res=>{ console.log(res)})$.get(url).then(res=>{ console.log(res)}) 8-2 $.ajax$.ajax({ url, type:"get", data, // get传值问号后面的值,可以放在data属性里面 dataType, success:res=>{ console.log(res); }})