This commit is contained in:
parent
cc882c203d
commit
9e1ec21e31
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue