diff --git a/svc/public_platoon_relate_commission.go b/svc/public_platoon_relate_commission.go index 8d890bc..ea37d83 100644 --- a/svc/public_platoon_relate_commission.go +++ b/svc/public_platoon_relate_commission.go @@ -84,7 +84,7 @@ func BatchGetPublicPlatoonRelateCommissionByOrder(engine *xorm.Engine, masterId if remainder1 == 0 { fatherPosition = fatherPositions[len(fatherPositions)-1] } else { - fatherPosition = fatherPositions[len(fatherPositions)-remainder1] + fatherPosition = fatherPositions[remainder1-1] } //} else { // remainder2 := (userPublicPlatoonRelation.ReturnCommissionNum) % userPublicPlatoonSetting.SeveralRows