From 1293757049f0d56b754a0ac10a502c296ff76611 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Tue, 14 May 2024 20:36:01 +0800 Subject: [PATCH] by Robin at 20240514 --- app/mix/dao/mongo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mix/dao/mongo.go b/app/mix/dao/mongo.go index 82e8575f..ec943be2 100644 --- a/app/mix/dao/mongo.go +++ b/app/mix/dao/mongo.go @@ -4255,7 +4255,7 @@ func (m *Mongo) GetZoneMomentListByMid(ctx *gin.Context, req *zonemomentproto.Op } func (m *Mongo) ThumbsUpZoneMoment(ctx *gin.Context, req *zonemomentproto.OpZoneMomentThumbsUpReq) (err error) { - col := m.getColMoment() + col := m.getColZoneMoment() change := qmgo.Change{ Update: qmgo.M{"$inc": qmgo.M{"thumbs_up_num": util.DerefInt64(req.Times)}}, Upsert: true,