Browse Source

add reverse:for v3.8.4 更新

tags/v3.8.4
huangjiajun 2 years ago
parent
commit
f59eb6cf15
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      svc/reward_commission.go

+ 4
- 3
svc/reward_commission.go View File

@@ -158,6 +158,7 @@ func GetRewardCommission(engine *xorm.Engine, rmd *md.CommissionParam, isShare b
ulink.ProfitList[k].Val = v.Val * zhios_order_relate_utils.StrToFloat64(commArr["integralRewardMultiple"])
}
}
comm(commArr, ulink)
return profit, pvdFee, sysFee, 0, ulink, nil
}
if cfg.Mode == "extend_price" { //直推奖励
@@ -235,9 +236,9 @@ func comm(commArr map[string]string, ulink *comm_plan.LvUser) *comm_plan.LvUser
ulink.ProfitList[k].Val = v.Val * zhios_order_relate_utils.StrToFloat64(commArr["integralRewardMultiple"])
}
}
}
if ulink.ParentUser != nil {
ulink.ParentUser = comm(commArr, ulink.ParentUser)
if ulink.ParentUser != nil {
ulink.ParentUser = comm(commArr, ulink.ParentUser)
}
}
return ulink
}


Loading…
Cancel
Save