pull/232/head
wangchuxiao 3 years ago
parent ed8716510b
commit 7914e7bc14

@ -92,7 +92,7 @@ func init() {
if err := createMongoIndex(mongoClient, cTag, true, "tag_id"); err != nil { if err := createMongoIndex(mongoClient, cTag, true, "tag_id"); err != nil {
fmt.Println("user_id", "-create_time", "index create failed", err.Error()) fmt.Println("user_id", "-create_time", "index create failed", err.Error())
} }
fmt.Println("create index success")
DB.mongoClient = mongoClient DB.mongoClient = mongoClient
// redis pool init // redis pool init

Loading…
Cancel
Save