|
@@ -161,9 +161,9 @@ public class MailApiController {
|
|
|
entity.setRecipientBcc(org.apache.commons.lang3.StringUtils.join(dto.getRecipientBccls(), ","));
|
|
entity.setRecipientBcc(org.apache.commons.lang3.StringUtils.join(dto.getRecipientBccls(), ","));
|
|
|
}
|
|
}
|
|
|
if (Objects.nonNull(dto.getId())) {
|
|
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());
|
|
entity.setId(dto.getId());
|
|
|
}
|
|
}
|
|
|
|
|
|