diff --git a/business/model/message.go b/business/model/message.go index 631705524..ad3be83d7 100644 --- a/business/model/message.go +++ b/business/model/message.go @@ -66,7 +66,7 @@ type ImMessageRecord struct { Seq int `json:"seq"` Weight int `json:"weight"` Height int `json:"height"` - Audio string `orm:"type(blob)" json:"audio"` + Audio []byte `json:"audio"` Key string `orm:"-" json:"key"` UserInfo *GetUserResult `orm:"-" json:"userInfo"` }