update 中电联协议推送充电站信息

This commit is contained in:
Lemon
2023-10-23 14:37:02 +08:00
parent 6d4069ab31
commit f21c057f97

View File

@@ -131,9 +131,8 @@ public class ZDLServiceImpl implements ZDLService {
// 调用中电联平台接口
String url = urlAddress + "notification_stationInfo";
String jsonStr = JSONObject.toJSONString(info);
JSONObject data = new JSONObject();
data.put("StationInfo", jsonStr);
data.put("StationInfo", info);
String jsonString = JSONObject.toJSONString(data);
System.out.println("jsonString : " + jsonString);