This commit is contained in:
wangchuxiao
2023-01-28 15:10:19 +08:00
parent 36e82d0a6d
commit 870cc25beb
3 changed files with 39 additions and 67 deletions
-4
View File
@@ -62,10 +62,6 @@ func initMongo() *mongo.Database {
return mongoClient.Database(config.Config.Mongo.DBDatabase)
}
func GetCollection(mongoClient *mongo.Client) {
}
func CreateAllIndex(mongoClient *mongo.Client) {
// mongodb create index
if err := createMongoIndex(mongoClient, cSendLog, false, "send_id", "-send_time"); err != nil {