active user

This commit is contained in:
withchao 2023-07-04 09:32:40 +08:00
parent 80f25c54c9
commit aaa1fb29cd

View File

@ -338,6 +338,8 @@ func (m *MsgMongoDriver) RangeUserSendCount(ctx context.Context, start time.Time
"$gte": bson.A{
"$$item.msg.send_time", start.UnixMilli(),
},
},
bson.M{
"$lt": bson.A{
"$$item.msg.send_time", end.UnixMilli(),
},