充值排行筛选成功的订单

master
czx 2023-11-03 14:53:59 +08:00
parent 81bed89873
commit bb40a13f05
1 changed files with 6 additions and 0 deletions

View File

@ -2172,6 +2172,12 @@ func (action *Action) GetRechargeRank(r *ghttp.Request) {
}} }}
bs = append(bs, serverMatch) bs = append(bs, serverMatch)
} }
statusMatch := bson.D{{
"$match", bson.D{{
"status", 1,
}},
}}
bs = append(bs, statusMatch)
match := bson.D{{ match := bson.D{{
"$match", bson.D{{ "$match", bson.D{{
"creattime", bson.D{{"$gte", startTimeStr}, {"$lte", endTimeStr}}, "creattime", bson.D{{"$gte", startTimeStr}, {"$lte", endTimeStr}},