liwei 2 years ago
parent
commit
ba778b8ebc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      3dshow-customer/db/db.go

+ 1 - 1
3dshow-customer/db/db.go

@@ -36,7 +36,7 @@ func (db *MongoDB) GetOrCreateDatabase(name string) *mongo.Database {
 
 
 func NewMongoDB(bus *comm.NatsBus) *MongoDB {
 func NewMongoDB(bus *comm.NatsBus) *MongoDB {
 	// inst, err := bus.NewMongoDBFromConfig("3dshow-mongo")
 	// inst, err := bus.NewMongoDBFromConfig("3dshow-mongo")
-	inst, err := bus.NewMongoDBFromConfigDev("3dshow-mongo")
+	inst, err := bus.NewMongoDBFromConfig("3dshow-mongo")
 	if err != nil {
 	if err != nil {
 		panic(err)
 		panic(err)
 	}
 	}