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