From c460f0974f5633e89c440dea1490629b47fe8b8b Mon Sep 17 00:00:00 2001 From: Leufolium Date: Tue, 22 Oct 2024 15:52:06 +0800 Subject: [PATCH] by Robin at 20241022 --- app/mix/dao/mongo.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/mix/dao/mongo.go b/app/mix/dao/mongo.go index be23626d..daf5556c 100644 --- a/app/mix/dao/mongo.go +++ b/app/mix/dao/mongo.go @@ -6311,9 +6311,7 @@ func (m *Mongo) GetRavenIQTestVisitPV(ctx *gin.Context, req *Raven_IQ_test_visit groupClause := bson.D{ {Key: "$group", Value: bson.D{ - {Key: "_id", Value: bson.M{ - "v_type": "$v_type", - }}, + {Key: "_id", Value: "$v_type"}, {Key: "pv", Value: bson.M{ "$sum": 1, }},