1
This commit is contained in:
parent
51da25eece
commit
a8800ae9b0
@ -123,10 +123,9 @@ func (this *player) GetAttachment(mails []common.Mail, c *gin.Context) {
|
||||
if rsp.GetErr() != nil{
|
||||
return
|
||||
}
|
||||
if errCode, err := q5.ToInt64Ex(rspObj.ErrCode); err != nil || errCode != 0 {
|
||||
return
|
||||
if errCode, err := q5.ToInt64Ex(rspObj.ErrCode); err == nil && errCode == 0 {
|
||||
this.DeleteMails(mails)
|
||||
}
|
||||
this.DeleteMails(mails)
|
||||
c.String(200, rsp.GetRawData())
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user