From e7da8609c8bb3ab626f3e45fca3873e83629a255 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Sat, 20 Jan 2024 00:53:31 +0800 Subject: [PATCH] by Robin at 20240120; fix --- app/mix/service/logic/moment.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/mix/service/logic/moment.go b/app/mix/service/logic/moment.go index 10e967df..17644f20 100644 --- a/app/mix/service/logic/moment.go +++ b/app/mix/service/logic/moment.go @@ -35,6 +35,7 @@ func (p *Moment) OpCreate(ctx *gin.Context, req *momentproto.OpCreateReq) error req.Moment.Id = goproto.Int64(momentSeqId.Seq) req.Moment.Ct = goproto.Int64(time.Now().Unix()) req.Moment.Ut = goproto.Int64(time.Now().Unix()) + req.Moment.ThumbsUpNum = goproto.Int64(0) req.Moment.DelFlag = goproto.Int64(consts.Exist) err = p.store.CreateMoment(ctx, req.Moment)