diff --git a/src/main/java/com/cm/tenlion/pollutantdata/utils/WeatherUtil.java b/src/main/java/com/cm/tenlion/pollutantdata/utils/WeatherUtil.java index e4a6a36..e256938 100644 --- a/src/main/java/com/cm/tenlion/pollutantdata/utils/WeatherUtil.java +++ b/src/main/java/com/cm/tenlion/pollutantdata/utils/WeatherUtil.java @@ -23,7 +23,7 @@ public class WeatherUtil { return weather.get(id + "_" + date); } Map params = new HashMap(); - params.put("key", "Sk1Gt66B1Z-ZsEJP5"); + params.put("key", "SVDDjcHSNQMU_3CRt"); params.put("location", id); params.put("language", "zh-Hans"); params.put("unit", "c"); @@ -49,7 +49,7 @@ public class WeatherUtil { } public static void main(String[] args) throws Exception { - WeatherUtil.getWeather("WRR2Q2Z7CXWM"); + WeatherUtil.getWeather("cangzhou"); } } diff --git a/src/main/resources/static/route/bigdatamain/bendanweirenwu.html b/src/main/resources/static/route/bigdatamain/bendanweirenwu.html index f651002..16cae91 100644 --- a/src/main/resources/static/route/bigdatamain/bendanweirenwu.html +++ b/src/main/resources/static/route/bigdatamain/bendanweirenwu.html @@ -952,7 +952,7 @@