Merge pull request 'feat-IRONFANS-70' (#248) from feat-IRONFANS-70 into test
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/248
This commit is contained in:
commit
f27d653c9e
|
@ -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