From ba85e370570c918a23c7e60a8841dd678054151c Mon Sep 17 00:00:00 2001 From: ly19960718 <1622779752@qq.com> Date: Thu, 2 Sep 2021 11:24:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E6=95=B0=E6=8D=AE=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pollutantdata/utils/WeatherUtil.java | 4 ++-- .../route/bigdatamain/bendanweirenwu.html | 2 +- .../static/route/bigdatamain/chaobiaoqiye.html | 2 +- .../static/route/bigdatamain/enterpriseof.html | 2 +- .../servicecity/userlocation/map_summary.html | 15 ++++++--------- .../templates/alarmlog/list-enterprise.html | 17 +++++++++++++---- 6 files changed, 24 insertions(+), 18 deletions(-) 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 @@