This commit is contained in:
aozhiwei 2024-07-04 19:51:42 +08:00
parent 858521ce19
commit 129232fb1e

View File

@ -109,11 +109,10 @@ func (this *player) GetAttachment(mails []common.Mail, c *gin.Context) {
p := q5.NewSliceElement(&cbParams.Mails)
p.MailId = q5.ToString(val.GetMailId())
val.TraverseAttachment(func (itemId int32, itemNum int32) {
/*
a = new(common.AttachmentDto)
a := new(common.AttachmentDto)
a.ItemId = itemId
a.ItemNum = itemNum
q5.AppendSlice(&mail.Attachments, a)*/
q5.AppendSlice(&p.Attachments, a)
})
}
}