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) { + + } + + }