Merge pull request 'by Robin at 20240501' (#403) from feat-IRONFANS-70 into test

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/403
This commit is contained in:
chenhao 2024-05-01 05:26:33 +08:00
commit d069414106
1 changed files with 7 additions and 2 deletions

View File

@ -2878,12 +2878,17 @@ func (s *Service) OpGetMomentAuditTaskList(ctx *gin.Context, req *moment_audit_t
return return
} }
streamerExt := streamerMp[momentMp[task.GetAssociativeTableId()].GetMid()].(*streamerproto.OpListExtVO) var streamerVO *streamerproto.OpListExtVO
streamerExt, ok := streamerMp[momentMp[task.GetAssociativeTableId()].GetMid()]
if ok {
streamerVO = streamerExt.(*streamerproto.OpListExtVO)
}
volist[i] = &moment_audit_taskproto.MomentAuditTaskVO{ volist[i] = &moment_audit_taskproto.MomentAuditTaskVO{
MomentAuditTask: task, MomentAuditTask: task,
ImageAuditTaskVO: imageAuditTaskVO, ImageAuditTaskVO: imageAuditTaskVO,
TextAuditTaskVO: textAuditTaskVO, TextAuditTaskVO: textAuditTaskVO,
StreamerExt: streamerExt, StreamerExt: streamerVO,
} }
} }