by Robin at 20231226 #11

Merged
chenhao merged 1 commits from fix-20231226-Robin-BUG0001 into main 2023-12-28 17:43:13 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -2573,7 +2573,7 @@ func (m *Mongo) GetContactCustomerServiceSessionList(ctx *gin.Context, req *cont
query := qmgo.M{
"del_flag": 0,
}
err := col.Find(ctx, query).Sort("-ct").Skip(int64(req.Offset)).Limit(int64(req.Limit)).All(&list)
err := col.Find(ctx, query).Sort("-ut").Skip(int64(req.Offset)).Limit(int64(req.Limit)).All(&list)
if err == qmgo.ErrNoSuchDocuments {
err = nil
return nil, err