From 2171acc90928fb0dd90026361cb56c11e1770e76 Mon Sep 17 00:00:00 2001 From: wenxu12345 <44203734@qq.com> Date: Mon, 21 Feb 2022 15:23:04 +0800 Subject: [PATCH] replace mongo driver --- pkg/common/db/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/db/model.go b/pkg/common/db/model.go index 201e5e7cc..f990d95a3 100644 --- a/pkg/common/db/model.go +++ b/pkg/common/db/model.go @@ -71,7 +71,7 @@ func init() { mgoSession, err1 = mgo.DialWithInfo(mgoDailInfo) if err1 != nil { -// log.NewError(" mongo.Connect failed, panic", err.Error(), uri) + log.NewError(" mongo.Connect failed, panic", err.Error()) panic(err1.Error()) } }