dev-feat-IRONFANS-70-Robin #223

Merged
chenhao merged 11 commits from dev-feat-IRONFANS-70-Robin into feat-IRONFANS-70 2024-04-03 06:36:09 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 1650066959 - Show all commits

View File

@ -4039,7 +4039,7 @@ func (m *Mongo) GetZidsByZoneMomentIds(ctx *gin.Context, zonemomentIds []int64)
"del_flag": 0,
}
zids := make([]int64, 0)
err := col.Find(ctx, query).Distinct("zid", zids)
err := col.Find(ctx, query).Distinct("zid", &zids)
if err == qmgo.ErrNoSuchDocuments {
err = nil
return make([]int64, 0), err