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

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

View File

@ -2879,12 +2879,17 @@ func (s *Service) OpGetMomentAuditTaskList(ctx *gin.Context, req *moment_audit_t
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{
MomentAuditTask: task,
ImageAuditTaskVO: imageAuditTaskVO,
TextAuditTaskVO: textAuditTaskVO,
StreamerExt: streamerExt,
StreamerExt: streamerVO,
}
}