by Robin at 20240327;
This commit is contained in:
parent
fd1706dd51
commit
1bd0784227
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue