tanbin 2 luni în urmă
părinte
comite
6293743cae

+ 1 - 0
device-api-service/src/main/java/com/xy/service/DeviceMqttConsumerImpl.java

@@ -256,6 +256,7 @@ public class DeviceMqttConsumerImpl implements DeviceMqttConsumer {
         }
         //温度异常
         Boolean b = R.feignCheckData(mercSmsSubscriptionService.isSubscribedByCode(new MercSmsSubscriptionDto.Vo().setMercId(merc.getId()).setEventCode(eventCode)));
+        log.info("设备告警,商户是否订阅短信通知:{},eventCode:{}",b,eventCode);
         boolean isSubscribed = BooleanUtil.isTrue(b);
         //商户是否订阅短信通知
         if(isSubscribed&&StrUtil.isNotEmpty(exceptionType)){