1 #827

Merged
chenhao merged 1 commits from feat-IRONFANS-245-Robin into test 2024-11-22 16:11:12 +08:00
1 changed files with 2 additions and 1 deletions

View File

@ -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 {