mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 16:02:26 +08:00
修改聊天和登录信息的数据库结构
This commit is contained in:
@@ -10,12 +10,13 @@ const (
|
||||
)
|
||||
|
||||
type ChatMsg struct {
|
||||
ID primitive.ObjectID `bson:"_id,omitempty"`
|
||||
Time uint32 `bson:"Time"`
|
||||
ToUid uint32 `bson:"ToUid"`
|
||||
Uid uint32 `bson:"Uid"`
|
||||
IsRead bool `bson:"IsRead"`
|
||||
MsgType uint8 `bson:"MsgType"`
|
||||
Text string `bson:"Text"`
|
||||
Icon uint32 `bson:"Icon"`
|
||||
ID primitive.ObjectID `bson:"_id,omitempty"`
|
||||
Sequence uint32 `bson:"-"`
|
||||
Time uint32 `bson:"Time"`
|
||||
ToUid uint32 `bson:"ToUid"`
|
||||
Uid uint32 `bson:"Uid"`
|
||||
IsRead bool `bson:"IsRead"`
|
||||
MsgType uint8 `bson:"MsgType"`
|
||||
Text string `bson:"Text"`
|
||||
Icon uint32 `bson:"Icon"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user