puzhibing
2026-02-28 0a27bf6c680fa32e8580360ad3b0dc91457d7c34
Merge branch 'dev' of http://120.76.84.145:10101/gitblit/r/java/mx_charging_pile
1个文件已修改
7 ■■■■■ 已修改文件
ruoyi-service/ruoyi-jianguan/src/main/java/com/ruoyi/jianguan/dongfu/ChargingInfoController.java 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-service/ruoyi-jianguan/src/main/java/com/ruoyi/jianguan/dongfu/ChargingInfoController.java
@@ -1,5 +1,6 @@
package com.ruoyi.jianguan.dongfu;
import cn.hutool.http.HttpUtil;
import com.alibaba.fastjson2.JSONObject;
import com.ruoyi.chargingPile.api.feignClient.ChargingGunClient;
import com.ruoyi.chargingPile.api.feignClient.ChargingPileClient;
@@ -78,7 +79,7 @@
                chargingStationInfoList.add(chargingStationInfo);
            }
            // 推送http请求
            String result = HttpRequestUtil.httpPost(PUSH_URL + PUSH_SITE_URL, JSONObject.toJSONString(chargingStationInfoList), "");
            String result = HttpUtil.post(PUSH_URL + PUSH_SITE_URL, JSONObject.toJSONString(chargingStationInfoList));
            log.info("推送充电站信息:{}",result);
        }
        return R.ok();
@@ -113,7 +114,7 @@
                chargingPileInfoList.add(chargingPileInfo);
            }
            // 推送http请求
            String result = HttpRequestUtil.httpPost(PUSH_URL + PUSH_PILE_URL, JSONObject.toJSONString(chargingPileInfoList), "");
            String result = HttpUtil.post(PUSH_URL + PUSH_PILE_URL, JSONObject.toJSONString(chargingPileInfoList));
            log.info("推送充电桩信息:{}",result);
        }
@@ -149,7 +150,7 @@
                chargingGunInfoList.add(chargingGunInfo);
            }
            // 推送http请求
            String result = HttpRequestUtil.httpPost(PUSH_URL + PUSH_GUN_URL, JSONObject.toJSONString(chargingGunInfoList), "");
            String result = HttpUtil.post(PUSH_URL + PUSH_GUN_URL, JSONObject.toJSONString(chargingGunInfoList));
            log.info("推送充电枪信息:{}",result);
        }
        return R.ok();