This commit is contained in:
withchao 2023-11-22 15:21:33 +08:00
parent 84bc7f3293
commit 0aba7d60a1

View File

@ -72,6 +72,9 @@ func (g *GroupMgo) CountRangeEverydayTotal(ctx context.Context, start time.Time,
"date": "$create_time",
},
},
"count": bson.M{
"$sum": 1,
},
},
},
}