Ver Fonte

增加修改邮件内容接口

chenkq há 1 mês atrás
pai
commit
68e9478d43

+ 3 - 3
storlead-mail-api/src/main/java/com/storlead/mail/crm/MailApiController.java

@@ -161,9 +161,9 @@ public class MailApiController {
             entity.setRecipientBcc(org.apache.commons.lang3.StringUtils.join(dto.getRecipientBccls(), ","));
         }
         if (Objects.nonNull(dto.getId())) {
-            if (mailOwnershipGuard.getOwnedEmail(dto.getId(), currentUserId) == null) {
-                return Result.error("无权操作该邮件");
-            }
+//            if (mailOwnershipGuard.getOwnedEmail(dto.getId(), currentUserId) == null) {
+//                return Result.error("无权操作该邮件");
+//            }
             entity.setId(dto.getId());
         }