by Robin at 20240501

This commit is contained in:
Leufolium 2024-05-01 05:25:45 +08:00
parent 2b8d9bf4bf
commit 1f394794ed
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,
} }
} }