imrecord userid

This commit is contained in:
苏尹岚
2020-11-11 14:45:12 +08:00
parent 28fbbe1a45
commit 9b220dbc68
5 changed files with 15 additions and 9 deletions

View File

@@ -63,6 +63,8 @@ type ImMessageRecord struct {
GroupID int `orm:"column(group_id)" json:"groupID"` //组ID
Content string `orm:"type(text)" json:"content"` //消息内容
MessageType int `json:"messageType"` //消息类型,文字,图片
UserInfo *GetUserResult `orm:"-" json:"userInfo"`
}
func (*ImMessageRecord) TableIndex() [][]string {