From f0db107a73b7aac1fba82996eee8135c88ac5cf7 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Wed, 20 Nov 2024 17:24:28 +0800 Subject: [PATCH] 1 --- app/mix/service/apiservice_business_validation.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/mix/service/apiservice_business_validation.go b/app/mix/service/apiservice_business_validation.go index b57ab42c..bf9963dc 100644 --- a/app/mix/service/apiservice_business_validation.go +++ b/app/mix/service/apiservice_business_validation.go @@ -717,6 +717,7 @@ func (s *Service) ApiCreateZoneThirdPartnerBusinessValidate(ctx *gin.Context, re // 3.鉴权校验 resultList = businessvalidator.NewAuthBusinessValidator(ctx, req). EnsureIsNotOperatingHisOwn(util.DerefInt64(req.ThirdPartnerMid)). + EnsureZoneThirdPartnerSharingRatioIsNotTooLarge(req.ZoneThirdPartner.GetSharingRatio()). Validate(). Collect() ec, _ = resultList[0].(errcode.ErrCode) -- 2.41.0