更新订阅请求的IP和端口

This commit is contained in:
liuchengqian 2023-03-08 14:18:27 +08:00
parent 9b2edcdc1b
commit 3a635e9645

View File

@ -60,10 +60,10 @@ public class FirePointSubscribeManager {
try {
String paramContent = ListUtils.fromStringList(subscribedCountyCodeList, ",");
System.out.println(paramContent);
String subscribeUrl = "http://192.168.2.46:8800/push-firepoint/ModifySystemMessages";
String subscribeUrl = "http://118.24.27.47:6900/push-firepoint/ModifySystemMessages";
Map<String, Object> map = new HashMap<>();
map.put("name", "秸秆火系统");
map.put("url", "http://192.168.2.36:6821/insertFirePointChannelPrecise");
map.put("url", "http://118.24.27.47:6802/insertFirePointChannelPrecise");
map.put("param", paramContent);
map.put("typeOfLand", "耕地");
return sendHttpPost(subscribeUrl, new ObjectMapper().writeValueAsString(map));