feat-IRONFANS-70 #248

Merged
chenhao merged 2 commits from feat-IRONFANS-70 into test 2024-04-11 14:40:51 +08:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit b6db8d157a - Show all commits

View File

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

View File

@ -2765,7 +2765,7 @@ func (s *Service) ApiGetZoneThirdPartnerList(ctx *gin.Context, req *zone_third_p
return
}
if zoneThirdPartner == nil {
vo = &zone_third_partner_proto.ZoneThirdPartnerApiVO{}
vo = nil
return
}