fix mongoDB bug

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

@ -262,6 +262,10 @@ type FileElem struct {
type AtElem struct { type AtElem struct {
Text string `mapstructure:"text"` Text string `mapstructure:"text"`
AtUserList []string `mapstructure:"atUserList"` AtUserList []string `mapstructure:"atUserList"`
AtUsersInfo []struct {
AtUserID string `json:"atUserID,omitempty"`
GroupNickname string `json:"groupNickname,omitempty"`
} `json:"atUsersInfo,omitempty"`
IsAtSelf bool `mapstructure:"isAtSelf"` IsAtSelf bool `mapstructure:"isAtSelf"`
} }
type LocationElem struct { type LocationElem struct {

Loading…
Cancel
Save