1. var url="http://127.0.0.1:5502/mock/index.json";
    2. $.ajax({
    3. url:url,
    4. method:"get",
    5. success:res=>{
    6. console.log(res);
    7. }
    8. })