diff --git a/src/main/java/com/cm/inspection/service/dingding/impl/DingDingMsgServiceImpl.java b/src/main/java/com/cm/inspection/service/dingding/impl/DingDingMsgServiceImpl.java index 1c54fc8..fb6d4e4 100644 --- a/src/main/java/com/cm/inspection/service/dingding/impl/DingDingMsgServiceImpl.java +++ b/src/main/java/com/cm/inspection/service/dingding/impl/DingDingMsgServiceImpl.java @@ -163,9 +163,11 @@ public class DingDingMsgServiceImpl extends BaseService implements IDingDingMsgS LOG.debug("DingDing result: {}", result); if (result == null) { LOG.error("认证失败"); + return; } if (result.isEmpty()) { LOG.error("发送钉钉消息失败"); + return; } } }