From 10dc638f1a297e4abadfe37fce93289977f1e216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 11 Dec 2020 15:23:27 +0800 Subject: [PATCH] aa --- business/model/message.go | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/business/model/message.go b/business/model/message.go index ad3be83d7..5a0f8c541 100644 --- a/business/model/message.go +++ b/business/model/message.go @@ -59,16 +59,16 @@ func (*MessageStatus) TableIndex() [][]string { type ImMessageRecord struct { ModelIDCULD - UserID string `orm:"size(48);column(user_id)" json:"userID"` //发消息的userID - GroupID int `orm:"column(group_id)" json:"groupID"` //组ID - Content string `orm:"type(text)" json:"content"` //消息内容 - MessageType int `json:"messageType"` //消息类型,1文字,2图片,3音频 - Seq int `json:"seq"` - Weight int `json:"weight"` - Height int `json:"height"` - Audio []byte `json:"audio"` - Key string `orm:"-" json:"key"` - UserInfo *GetUserResult `orm:"-" json:"userInfo"` + UserID string `orm:"size(48);column(user_id)" json:"userID"` //发消息的userID + GroupID int `orm:"column(group_id)" json:"groupID"` //组ID + Content string `orm:"type(text)" json:"content"` //消息内容 + MessageType int `json:"messageType"` //消息类型,1文字,2图片,3音频 + Seq int `json:"seq"` + Weight int `json:"weight"` + Height int `json:"height"` + // Audio []byte `json:"audio"` + Key string `orm:"-" json:"key"` + UserInfo *GetUserResult `orm:"-" json:"userInfo"` } func (*ImMessageRecord) TableIndex() [][]string {