fix mongoDB bug

pull/455/head
wangchuxiao 1 year ago committed by Xinwei Xiong(cubxxw-openim)
parent 7812a4bb58
commit 09fe19d97b

@ -260,9 +260,13 @@ type FileElem struct {
FileSize int64 `mapstructure:"fileSize"` FileSize int64 `mapstructure:"fileSize"`
} }
type AtElem struct { type AtElem struct {
Text string `mapstructure:"text"` Text string `mapstructure:"text"`
AtUserList []string `mapstructure:"atUserList"` AtUserList []string `mapstructure:"atUserList"`
IsAtSelf bool `mapstructure:"isAtSelf"` AtUsersInfo []struct {
AtUserID string `json:"atUserID,omitempty"`
GroupNickname string `json:"groupNickname,omitempty"`
} `json:"atUsersInfo,omitempty"`
IsAtSelf bool `mapstructure:"isAtSelf"`
} }
type LocationElem struct { type LocationElem struct {
Description string `mapstructure:"description"` Description string `mapstructure:"description"`

Loading…
Cancel
Save