Browse Source

修复事件推送agbox2

hanzhengyi 1 month ago
parent
commit
9e29424b4d

+ 2 - 2
service-agbox/service-agbox-biz/src/main/java/com/usky/agbox/service/mqtt/event/event.java

@@ -39,9 +39,9 @@ public class event implements MqttStrategy {
                         "eventType").equals(9)){
                     eventVO.put("eventCode",5);
                 }else if (eventVO1.get("eventType").equals(8)){
-                    eventVO1.put("eventCode",3);
+                    eventVO.put("eventCode",3);
                 }else if (eventVO1.get("eventType").equals(10)){
-                    eventVO1.put("eventCode",4);
+                    eventVO.put("eventCode",4);
                 }else {
                     eventVO.put("eventCode",16);
                 }