by Robin at 20240327;

This commit is contained in:
Leufolium 2024-03-27 20:50:40 +08:00
parent fd1706dd51
commit 1bd0784227
1 changed files with 1 additions and 1 deletions

View File

@ -1400,7 +1400,7 @@ func (m *Mongo) GetDeletedMomentList(ctx *gin.Context, req *momentproto.OpListRe
query := qmgo.M{ query := qmgo.M{
"ct": ctClause, "ct": ctClause,
"status": 3, "status": 3,
"del_flag": 0, "del_flag": 1,
} }
err := col.Find(ctx, query).Sort("-ct").Skip(int64(req.Offset)).Limit(int64(req.Limit)).All(&list) err := col.Find(ctx, query).Sort("-ct").Skip(int64(req.Offset)).Limit(int64(req.Limit)).All(&list)
if err == qmgo.ErrNoSuchDocuments { if err == qmgo.ErrNoSuchDocuments {