Răsfoiți Sursa

邮件通知与钉钉消息一起发送

陈长荣 3 luni în urmă
părinte
comite
a447d18f24

+ 2 - 5
jfcloud-gene-biz/src/main/java/com/github/jfcloud/gene/flow/service/impl/NotifyServiceImpl.java

@@ -93,11 +93,8 @@ public class NotifyServiceImpl implements NotifyService {
             sendDingding(dingMsg, messageUserDTO);
         }
 
-        //查询是否需要邮件通知
-        key = String.format("gene.%s.email.enable", flowInfo.getStatus());
-        if (Boolean.parseBoolean(systemPropertiesService.getValue(key))) {
-            //todo 邮件通知
-        }
+        //查询是否需要邮件通知,目前邮件通知随钉钉消息一起发送
+//        key = String.format("gene.%s.email.enable", flowInfo.getStatus());
     }
 
     /**