1 #815
|
@ -717,6 +717,7 @@ func (s *Service) ApiCreateZoneThirdPartnerBusinessValidate(ctx *gin.Context, re
|
||||||
// 3.鉴权校验
|
// 3.鉴权校验
|
||||||
resultList = businessvalidator.NewAuthBusinessValidator(ctx, req).
|
resultList = businessvalidator.NewAuthBusinessValidator(ctx, req).
|
||||||
EnsureIsNotOperatingHisOwn(util.DerefInt64(req.ThirdPartnerMid)).
|
EnsureIsNotOperatingHisOwn(util.DerefInt64(req.ThirdPartnerMid)).
|
||||||
|
EnsureZoneThirdPartnerSharingRatioIsNotTooLarge(req.ZoneThirdPartner.GetSharingRatio()).
|
||||||
Validate().
|
Validate().
|
||||||
Collect()
|
Collect()
|
||||||
ec, _ = resultList[0].(errcode.ErrCode)
|
ec, _ = resultList[0].(errcode.ErrCode)
|
||||||
|
|
Loading…
Reference in New Issue