by Robin at 20241120 #816
|
@ -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 {
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue