jquery get 请求

code

$.get("/weather_code/",
    {
        city:"上海",
        time:"2019-04-05"
    },
        function(result){
        alert("返回数据: \n" + "reason:"+ result.reason +"\n"+"weather_name:"+ result.weather_name);
    });

 

 

 

 

 

 

 

 

 

posted @ 2020-12-24 00:09  anobscureretreat  阅读(66)  评论(0编辑  收藏  举报