From 901b27df554304a1f3316c521ea550fb4d203b07 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 5 Jun 2024 16:45:34 +0800 Subject: [PATCH] 1 --- server/mailserver/player/player.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/mailserver/player/player.go b/server/mailserver/player/player.go index a9a8608e..f7519b46 100644 --- a/server/mailserver/player/player.go +++ b/server/mailserver/player/player.go @@ -85,6 +85,14 @@ func (this *player) MarkMails(mails []common.Mail) error { } func (this *player) GetAttachment(mails []common.Mail) error { + this.checkLock() + /* + cbParams := struct { + Mails []struct { + MailId string `json:"mailid"` + Attachments []*common.AttachmentDto `json:"attachments"` + } `json:"mails"` + }{}*/ return this.DeleteMails(mails) }