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");