diff --git a/app/mix/dao/mongo.go b/app/mix/dao/mongo.go index eb07c6a4..8dccfe78 100644 --- a/app/mix/dao/mongo.go +++ b/app/mix/dao/mongo.go @@ -1653,7 +1653,8 @@ func (m *Mongo) GetMomentListByStatus(ctx *gin.Context, status int64, limit, off col := m.getColMoment() // 这个接口是用来查审核任务的前置接口,所以必须要把删除的也查出来 query := qmgo.M{ - "status": status, + "status": status, + "del_flag": 0, } err := col.Find(ctx, query).Sort("-ut").Skip(int64(offset)).Limit(int64(limit)).All(&list) if err == qmgo.ErrNoSuchDocuments {