feat-IRONFANS-70 #244

Merged
chenhao merged 4 commits from feat-IRONFANS-70 into test 2024-04-11 14:04:54 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 5b292b346a - Show all commits

View File

@ -4069,7 +4069,7 @@ func (m *Mongo) GetZoneMomentListByZid(ctx *gin.Context, req *zonemomentproto.Op
if len(ctClause) != 0 {
query["ct"] = ctClause
}
err := col.Find(ctx, query).Sort("-ct").Skip(int64(req.Offset)).Limit(int64(req.Limit)).All(&list)
err := col.Find(ctx, query).Sort("-priority_in_zone").Skip(int64(req.Offset)).Limit(int64(req.Limit)).All(&list)
if err == qmgo.ErrNoSuchDocuments {
err = nil
return list, err