1 #815
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue