This commit is contained in:
wangchuxiao
2023-01-29 11:30:12 +08:00
parent 52ceb7682d
commit b021089360
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ func NewGroupServer(port int) *groupServer {
}
mongo.InitMongo()
mongo.CreateSuperGroupIndex()
g.GroupInterface = controller.NewGroupController(groupModel.DB, cache.InitRedis(), mongo.DB)
g.GroupInterface = controller.NewGroupController(groupModel.DB, cache.InitRedis(), mongo.GetClient())
return &g
}