From 8c20007bf2342db9d7a1d76729c84042bf7e2ef8 Mon Sep 17 00:00:00 2001
From: xiepufeng <1072271977@qq.com>
Date: Fri, 2 Feb 2024 19:59:45 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4ruyi-commonn=E4=B8=AD?=
=?UTF-8?q?=E6=97=A0=E7=94=A8=E7=9A=84=E4=BE=9D=E8=B5=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ruoyi-common/pom.xml | 25 +++----------------
zc-business/pom.xml | 1 +
.../device/handler/DeviceMessageHandler.java | 17 ++++++++++---
3 files changed, 18 insertions(+), 25 deletions(-)
diff --git a/ruoyi-common/pom.xml b/ruoyi-common/pom.xml
index 6d52927e..014dc766 100644
--- a/ruoyi-common/pom.xml
+++ b/ruoyi-common/pom.xml
@@ -58,7 +58,7 @@
org.apache.commons
commons-lang3
-
+
com.fasterxml.jackson.core
@@ -150,14 +150,6 @@
4.11
-
-
-
- org.bouncycastle
- bcpkix-jdk15on
- 1.57
-
-
commons-codec
@@ -185,6 +177,7 @@
core
3.3.3
+
com.google.zxing
javase
@@ -197,18 +190,6 @@
4.1.0
-
- com.aliyun.mns
- aliyun-sdk-mns
- 1.1.8
-
-
-
- com.aliyun
- aliyun-java-sdk-dyvmsapi
- 1.2.2
-
-
com.baomidou
@@ -225,4 +206,4 @@
-
\ No newline at end of file
+
diff --git a/zc-business/pom.xml b/zc-business/pom.xml
index 90649c6b..e83ad99b 100644
--- a/zc-business/pom.xml
+++ b/zc-business/pom.xml
@@ -27,6 +27,7 @@
artemis-http-client
1.1.11-SNAPSHOT
+
io.springfox
springfox-boot-starter
diff --git a/zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java b/zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java
index 21b22f26..a03eecf9 100644
--- a/zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java
+++ b/zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java
@@ -29,10 +29,10 @@ public class DeviceMessageHandler {
WEATHER_DETECTOR("zc-meteorological"),
// 设备箱
- ZC_SHE_BEI_XIANG("zc-shebeixiang-1883"),
+ EQUIPMENT_BOX("zc-shebeixiang-1883"),
// 一站式情况调查产品
- STANDARD_JTT("zc-yzsqkdc-3131")
+ ONE_STOP_PRODUCT("zc-yzsqkdc-3131")
;
private final String value;
@@ -81,7 +81,18 @@ public class DeviceMessageHandler {
// 摄像头检测事件
if (productId.equals(ProductType.CAMERA_DETECTION_EVENT.value)) {
- return;
+ this.cameraDetectionEventHandle(data);
}
}
+
+
+ /**
+ * 摄像头检测事件处理
+ * @param event 事件数据
+ */
+ private void cameraDetectionEventHandle(JSONObject event) {
+
+ }
+
+
}