fix
This commit is contained in:
parent
925758f7f5
commit
3d036641e0
@ -318,7 +318,6 @@ func (this *MailApi) DelMail(c *gin.Context) {
|
||||
}
|
||||
|
||||
func (this *MailApi) CheckAttachment(list []common.Attachment, c *gin.Context) bool {
|
||||
return true
|
||||
if data, err := json.Marshal(list); err != nil || len(data) > 0xFF {
|
||||
c.JSON(http.StatusOK, gin.H{
|
||||
"code": 2,
|
||||
|
Loading…
x
Reference in New Issue
Block a user