diff --git a/app/mix/dao/mongo.go b/app/mix/dao/mongo.go index c6637e25..95cab9b5 100644 --- a/app/mix/dao/mongo.go +++ b/app/mix/dao/mongo.go @@ -4114,11 +4114,11 @@ func (m *Mongo) IncZoneMomentPriorityByIds(ctx *gin.Context, ids []int64, increm } if increment == consts.ZoneMomentPriorityInZone_Increment { up["$set"] = qmgo.M{ - "is_headed": consts.IsHeaded_Yes, + "is_headed": int64(consts.IsHeaded_Yes), } } else { up["$set"] = qmgo.M{ - "is_headed": consts.IsHeaded_No, + "is_headed": int64(consts.IsHeaded_No), } } _, err := col.UpdateAll(ctx, query, up)