1
This commit is contained in:
parent
6b5c288b68
commit
1b9e9459e1
@ -21,7 +21,7 @@ type MailDto struct {
|
||||
MailType int32 `json:"mailtype"`
|
||||
MailSubType int32 `json:"mailsubtype"`
|
||||
Ext string `json:"ext"`
|
||||
Attachment []*AttachmentDto `json:"attachments"`
|
||||
Attachments []*AttachmentDto `json:"attachments"`
|
||||
}
|
||||
|
||||
type App interface {
|
||||
|
@ -100,6 +100,7 @@ func (this *mail) fillMailDto(p *common.MailDto) bool {
|
||||
p.MailType = this.mailType
|
||||
p.MailSubType = 0
|
||||
p.Ext = ""
|
||||
p.Attachments = make([]*common.AttachmentDto, 0)
|
||||
for _, ele := range(this.attachments) {
|
||||
attachment := new(common.AttachmentDto)
|
||||
attachment.ItemId = ele.itemId
|
||||
|
Loading…
x
Reference in New Issue
Block a user