Merge pull request 'by' (#470) from feat-IRONFANS-118-Robin-2 into test

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/470
This commit is contained in:
chenhao 2024-05-21 23:31:26 +08:00
commit 320792b4fe
2 changed files with 3 additions and 0 deletions

View File

@ -8,4 +8,5 @@ import (
type ZoneThirdPartnerApiVO struct {
*dbstruct.ZoneThirdPartner
Account *accountproto.ApiListOthersVO `json:"third_partner_account"`
IsHided int64 `json:"is_hided"`
}

View File

@ -3064,6 +3064,7 @@ func (s *Service) ApiGetZoneThirdPartnerList(ctx *gin.Context, req *zone_third_p
ThirdPartnerMid: nil,
SharingRatio: nil,
},
IsHided: consts.IsHided_Yes,
}
return
}
@ -3101,6 +3102,7 @@ func (s *Service) ApiGetZoneThirdPartnerList(ctx *gin.Context, req *zone_third_p
vo = &zone_third_partner_proto.ZoneThirdPartnerApiVO{
ZoneThirdPartner: zoneThirdPartner,
Account: acctVO,
IsHided: consts.IsHided_No,
}
return