mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-09 04:21:08 +08:00
groupModel
This commit is contained in:
parent
f528535cfd
commit
da48b27ada
@ -32,8 +32,6 @@ func NewGroupModel(db mysql.GroupModelInterface, rdb redis.UniversalClient, mdb
|
||||
DisableCacheRead: false,
|
||||
StrongConsistency: true,
|
||||
})
|
||||
sg := mdb.Database().Collection()
|
||||
sg.Find()
|
||||
groupModel.mongo = mongoDB.NewMongoClient(mdb)
|
||||
return &groupModel
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user