更新订阅请求的IP和端口
This commit is contained in:
parent
9b2edcdc1b
commit
3a635e9645
@ -60,10 +60,10 @@ public class FirePointSubscribeManager {
|
|||||||
try {
|
try {
|
||||||
String paramContent = ListUtils.fromStringList(subscribedCountyCodeList, ",");
|
String paramContent = ListUtils.fromStringList(subscribedCountyCodeList, ",");
|
||||||
System.out.println(paramContent);
|
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<String, Object> map = new HashMap<>();
|
||||||
map.put("name", "秸秆火系统");
|
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("param", paramContent);
|
||||||
map.put("typeOfLand", "耕地");
|
map.put("typeOfLand", "耕地");
|
||||||
return sendHttpPost(subscribeUrl, new ObjectMapper().writeValueAsString(map));
|
return sendHttpPost(subscribeUrl, new ObjectMapper().writeValueAsString(map));
|
||||||
|
Loading…
Reference in New Issue
Block a user