From d8399956cf6fd4a2ac26bd315abf187c727e30a9 Mon Sep 17 00:00:00 2001 From: lmc Date: Wed, 18 Dec 2024 09:18:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=81=E8=AE=BE=E5=A4=87=20=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/common/task/EquTask.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/common/task/EquTask.java b/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/common/task/EquTask.java index 2dc8895..c741db3 100644 --- a/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/common/task/EquTask.java +++ b/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/common/task/EquTask.java @@ -57,12 +57,12 @@ public class EquTask { // List equLists = thDeviceMapper.selectDeviceList(thDevice); // equLists.forEach(e->{ HashMap map = new HashMap<>(); - + token = "28e73f2d211f3ac211313a1aa61dc0c5"; map.put("token",token); HttpResult result = OkHttps.sync("http://10.205.51.190:30100/device/getGasDeviceList?token={token}") .addPathPara(map) .addHeader("token", token) - .get(); + .post(); JSONObject vocByJson = result.getBody().toBean(JSONObject.class); System.out.println("---------------------------------"+vocByJson); JSONArray vocByArray = vocByJson.getJSONArray("data");