zoujiajian 2 gadi atpakaļ
vecāks
revīzija
c5c8a22256

+ 1 - 1
netflix-service/src/main/java/com/cyksj/service/corp/impl/CorpEventActionServiceImpl.java

@@ -687,7 +687,7 @@ public class CorpEventActionServiceImpl implements CorpEventActionService {
 					String welcomeContent = corpFollowActiveCode.getText();
 					String attachmentsStr = corpFollowActiveCode.getAttachmentsStr();
 					//发送对应欢迎语
-					if (StrUtil.isNotBlank(welcomeContent) || StrUtil.isNotBlank(attachmentsStr)) {
+					if (StrUtil.isNotBlank(welcomeContent) && StrUtil.isNotBlank(attachmentsStr)) {
 						THREAD_POOL.execute(() -> {
 							sendCorpFollowActiveCode(message, welcomeContent, attachmentsStr);
 						});