This commit is contained in:
wangchuxiao 2022-05-06 17:35:33 +08:00
parent ed8716510b
commit 7914e7bc14

View File

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