From 06308f909f5eddaa7e8c55f0485125ea99fd03df Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Thu, 29 Oct 2020 18:44:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/dingding/impl/DingDingMsgServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) 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; } } }