Merge pull request 'by Robin at 20240327;' (#215) from feat-IRONFANS-74-Robin into main

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/215
This commit is contained in:
chenhao 2024-03-27 20:51:10 +08:00
commit 415a909023
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 {