by Robin at 20240411

This commit is contained in:
Leufolium 2024-04-11 14:37:45 +08:00
parent 5b292b346a
commit cc882c203d
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,