1 #815

Merged
chenhao merged 1 commits from feat-IRONFANS-242-Robin into test 2024-11-20 17:24:44 +08:00
1 changed files with 1 additions and 0 deletions

View File

@ -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)