by Robin at 20240525 #508
|
@ -3063,18 +3063,6 @@ func (s *Service) ApiGetZoneThirdPartnerList(ctx *gin.Context, req *zone_third_p
|
|||
return
|
||||
}
|
||||
|
||||
if zone.GetIsZoneThirdPartnerHided() == consts.IsHided_Yes {
|
||||
vo = &zone_third_partner_proto.ZoneThirdPartnerApiVO{
|
||||
ZoneThirdPartner: &dbstruct.ZoneThirdPartner{
|
||||
Zid: req.Zid,
|
||||
ThirdPartnerMid: nil,
|
||||
SharingRatio: nil,
|
||||
},
|
||||
IsHided: consts.IsHided_Yes,
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
acct, err := _DefaultAccount.OpListByMid(ctx, &accountproto.OpListByMidReq{
|
||||
Mid: zoneThirdPartner.ThirdPartnerMid,
|
||||
})
|
||||
|
@ -3094,7 +3082,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,
|
||||
IsHided: zone.GetIsZoneThirdPartnerHided(),
|
||||
}
|
||||
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue