Browse Source

去除ruyi-commonn中无用的依赖

develop
xiepufeng 10 months ago
parent
commit
8c20007bf2
  1. 21
      ruoyi-common/pom.xml
  2. 1
      zc-business/pom.xml
  3. 17
      zc-business/src/main/java/com/zc/business/message/device/handler/DeviceMessageHandler.java

21
ruoyi-common/pom.xml

@ -150,14 +150,6 @@
<version>4.11</version>
</dependency>
<!--国密依赖包-->
<!-- https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk15on -->
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
<version>1.57</version>
</dependency>
<!-- Base64编码需要 -->
<dependency>
<groupId>commons-codec</groupId>
@ -185,6 +177,7 @@
<artifactId>core</artifactId>
<version>3.3.3</version>
</dependency>
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>javase</artifactId>
@ -197,18 +190,6 @@
<version>4.1.0</version>
</dependency>
<dependency>
<groupId>com.aliyun.mns</groupId>
<artifactId>aliyun-sdk-mns</artifactId>
<version>1.1.8</version>
</dependency>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-dyvmsapi</artifactId>
<version>1.2.2</version>
</dependency>
<!-- mybatis-plus 增强CRUD -->
<dependency>
<groupId>com.baomidou</groupId>

1
zc-business/pom.xml

@ -27,6 +27,7 @@
<artifactId>artemis-http-client</artifactId>
<version>1.1.11-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-boot-starter</artifactId>

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

Loading…
Cancel
Save