Merge pull request 'by Robin at 20240411' (#245) from dev-feat-IRONFANS-70-Robin into feat-IRONFANS-70

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/245
This commit is contained in:
chenhao 2024-04-11 14:38:03 +08:00
commit ee6f7b4433
1 changed files with 3 additions and 1 deletions

View File

@ -58,7 +58,9 @@ func ApiGetZoneThirdPartnerList(ctx *gin.Context) {
}
//填充媒体切片
mediafiller.FillEntity(ctx, zoneThirdPartner.Account.Avatar)
if zoneThirdPartner.Account != nil && zoneThirdPartner.Account.Avatar != nil {
mediafiller.FillEntity(ctx, zoneThirdPartner.Account.Avatar)
}
data := &zone_third_partner_proto.ApiListData{
ZoneThirdPartner: zoneThirdPartner,