From 1943a4f53d9164f44d5f2b4218ec34ec5c413f76 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Tue, 19 Nov 2024 15:39:01 +0800 Subject: [PATCH] 1 --- app/mix/service/apiservice.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/mix/service/apiservice.go b/app/mix/service/apiservice.go index f408b919..b83c13f6 100644 --- a/app/mix/service/apiservice.go +++ b/app/mix/service/apiservice.go @@ -2248,6 +2248,7 @@ func (s *Service) ApiUpdateMoment(ctx *gin.Context, req *momentproto.ApiUpdateRe err := _DefaultMoment.OpUpdate(ctx, &momentproto.OpUpdateReq{ Moment: &dbstruct.Moment{ + Id: req.Moment.Id, Status: req.Status, Text: req.Text, MediaComp: req.MediaComp,