Merge pull request 'main' (#431) from main into test
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/431
This commit is contained in:
commit
69a67c1221
|
@ -4093,7 +4093,7 @@ func (m *Mongo) GetZoneMomentListByMid(ctx *gin.Context, req *zonemomentproto.Op
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Mongo) ThumbsUpZoneMoment(ctx *gin.Context, req *zonemomentproto.OpZoneMomentThumbsUpReq) (err error) {
|
func (m *Mongo) ThumbsUpZoneMoment(ctx *gin.Context, req *zonemomentproto.OpZoneMomentThumbsUpReq) (err error) {
|
||||||
col := m.getColMoment()
|
col := m.getColZoneMoment()
|
||||||
change := qmgo.Change{
|
change := qmgo.Change{
|
||||||
Update: qmgo.M{"$inc": qmgo.M{"thumbs_up_num": util.DerefInt64(req.Times)}},
|
Update: qmgo.M{"$inc": qmgo.M{"thumbs_up_num": util.DerefInt64(req.Times)}},
|
||||||
Upsert: true,
|
Upsert: true,
|
||||||
|
|
Loading…
Reference in New Issue