Merge pull request '1' (#827) from feat-IRONFANS-245-Robin into test

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/827
This commit is contained in:
chenhao 2024-11-22 16:11:11 +08:00
commit 3ae882883f
1 changed files with 2 additions and 1 deletions

View File

@ -1713,7 +1713,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 {