jquery get 请求

code

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

原文地址:https://www.cnblogs.com/sea-stream/p/14182230.html