replace mongo driver

pull/137/head
wenxu12345 4 years ago committed by Pi
parent 7380e07874
commit c39eff9aa2

@ -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())
panic(err1.Error()) panic(err1.Error())
} }
} }

Loading…
Cancel
Save