Merge pull request '1' (#684) from feat-IRONFANS-192-Robin into test
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/684
This commit is contained in:
commit
f93fe3d592
|
@ -1403,6 +1403,7 @@ func (s *Service) OpUpdateZoneThirdPartnerBusinessValidate(ctx *gin.Context, req
|
|||
ec = errcode.ErrCodeZoneThirdPartnerSrvOk
|
||||
// 1.业务校验
|
||||
validator := businessvalidator.NewAuthBusinessValidator(ctx, req).
|
||||
EnsureZoneThirdPartnerIsNotZoneCreater(_DefaultZone.GetById, req.ZoneThirdPartner.GetZid(), req.ZoneThirdPartner.GetThirdPartnerMid()).
|
||||
EnsureZoneThirdPartnerSharingRatioIsNotTooLarge(req.ZoneThirdPartner.GetSharingRatio())
|
||||
// 若不更新代运营,则确保代运营分成比例足够
|
||||
if req.ZoneThirdPartner.ThirdPartnerMid == nil {
|
||||
|
|
Loading…
Reference in New Issue