wangchuanjin 4 жил өмнө
parent
commit
06b5e208bf

+ 2 - 0
src/jfw/modules/bigmember/src/db/db.go

@@ -99,6 +99,8 @@ func init() {
 				Size:        DbConf.Mongodb.Ent.Size,
 				DbName:      DbConf.Mongodb.Ent.DbName,
 				ReplSet:     DbConf.Mongodb.Ent.ReplSet,
+				UserName:    DbConf.Mongodb.Ent.UserName,
+				Password:    DbConf.Mongodb.Ent.Password,
 			}
 			Mgo_Ent.InitPool()
 		}