Browse Source

场景计算失败,发送钉钉消息

lyhzzz 2 years ago
parent
commit
b6e47aaad9

+ 1 - 1
4dkankan-modeling/src/main/java/com/fdkankan/utils/DingDingUtils.java

@@ -59,7 +59,7 @@ public class DingDingUtils {
         String content = String.format(msgPattern, environment, SysConstants.hostName, reason, buildLog.getSceneNum(),
                 buildLog.getDataSource(), buildLog.getLogDetailPath(), buildLog.getLogDetailPath());
         log.info("服务器:{},发送钉钉消息:{}",SysConstants.hostName,content);
-        //sendMsgToDingRobot(content);
+        sendMsgToDingRobot(content);
     }
 
     public static void sendMsgToDingRobot(String content) throws ApiException, UnsupportedEncodingException, NoSuchAlgorithmException, InvalidKeyException {