From 8aa7fd11ebda9fcaf2e8e46b38ed9961eeb88df4 Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Tue, 14 Mar 2023 09:53:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=AF=B9=E6=9E=97=E7=81=AB?= =?UTF-8?q?=E7=9A=84=E7=81=AB=E7=82=B9=E6=8E=A8=E9=80=81=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/FirePointServiceImpl.java | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/src/main/java/com/xkrs/service/impl/FirePointServiceImpl.java b/src/main/java/com/xkrs/service/impl/FirePointServiceImpl.java index 4c62c76..f45054c 100644 --- a/src/main/java/com/xkrs/service/impl/FirePointServiceImpl.java +++ b/src/main/java/com/xkrs/service/impl/FirePointServiceImpl.java @@ -121,33 +121,9 @@ public class FirePointServiceImpl implements FirePointService { } log.info("-------发现新火点"); firePointDao.save(firePointEntity); - forwardPoint(firePointEntity); //发送消息通知 sendBroadcast(firePointEntity); return true; -// if (firePointEntity.getCountyCode().startsWith("37")) { -// //如果开关已打开,就只将未审核的火点添加到山东临时表 -// log.info("-------发现新山东火点"); -// ShanDongFirePointEntity shanDongFirePointByFirePoint = getShanDongFirePointByFirePoint(firePointEntity); -// ShanDongFirePointEntity savedShanDongFirePoint = shanDongFirePointDao.save(shanDongFirePointByFirePoint); -// //微信消息通知火点审核工作组 -// try { -// String messageContent = getMessageContent(savedShanDongFirePoint); -// WDWxSendMsgUtil.sendMsg("18447024917@chatroom", messageContent, 0); -// } catch (Exception e) { -// e.printStackTrace(); -// } -// return true; -// } - } - - private void forwardPoint(FirePointEntity firePointEntity) { - try { - String url = "http://121.36.229.60:6811/insertfirepointchannelThree"; - HttpClientUtils.sendHttpPostTextPlain(url, new ObjectMapper().writeValueAsString(firePointEntity)); - } catch (Exception e) { - e.printStackTrace(); - } } /**