by Robin at 20241120 #816

Merged
chenhao merged 1 commits from BUG-20241119 into test 2024-11-20 18:38:02 +08:00
2 changed files with 2 additions and 0 deletions
Showing only changes of commit 76fe6ef75e - Show all commits

View File

@ -147,6 +147,7 @@ type OpReviewReq struct {
base.BaseRequest
MomentIds []int64 `json:"moment_ids"`
OpType int64 `json:"op_type"`
Remarks string `json:"remarks"`
}
type OpReviewData struct {

View File

@ -1504,6 +1504,7 @@ func (s *Service) OpReviewMoment(ctx *gin.Context, req *momentproto.OpReviewReq)
err = _DefaultMomentAuditTask.OpUpdateByMomentIdsAndStatus(ctx, &dbstruct.MomentAuditTask{
ManuallyReviewStatus: goproto.Int64(finalMomentAuditTaskStatus),
ManuallyReviewOperator: goproto.Int64(req.BaseRequest.Mid),
Remarks: goproto.String(req.Remarks),
}, momentStrIds, consts.MomentManuallyReview_Waiting)
if err != nil {
logger.Error("_DefaultMomentAuditTask OpUpdateByMomentIdsAndStatus fail, req: %v, err: %v", util.ToJson(req), err)