This commit is contained in:
wangchuxiao
2023-01-28 16:36:38 +08:00
parent c90d4330df
commit 7fc279a329
6 changed files with 298 additions and 316 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ type DataBase interface {
type GroupDataBase struct {
sqlDB *relation.Group
cache *cache.GroupCache
mongoDB *unrelation.SuperGroupMgo
mongoDB *unrelation.SuperGroupMgoDB
}
func newGroupDatabase(db *gorm.DB, rdb redis.UniversalClient, mgoDB *mongo.Database) DataBase {