replace mongo driver

This commit is contained in:
wenxu12345 2022-02-21 15:22:40 +08:00 committed by Pi
parent d25fef1366
commit 7380e07874

View File

@ -71,7 +71,7 @@ func init() {
mgoSession, err1 = mgo.DialWithInfo(mgoDailInfo) mgoSession, err1 = mgo.DialWithInfo(mgoDailInfo)
if err1 != nil { if err1 != nil {
log.NewError(" mongo.Connect failed, panic", err.Error(), uri) // log.NewError(" mongo.Connect failed, panic", err.Error(), uri)
panic(err1.Error()) panic(err1.Error())
} }
} }