From 26ce46d8040caa0ff8ea1af0df378eccf1d465ef Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 11 Nov 2024 16:20:39 +0800 Subject: [PATCH] 1 --- svc/reward_commission.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/reward_commission.go b/svc/reward_commission.go index 9efeae8..ef92d34 100644 --- a/svc/reward_commission.go +++ b/svc/reward_commission.go @@ -869,7 +869,7 @@ func CommFee(fee float64, opt *comm_plan.PlanOpt, types string, rmd *md.Commissi regionSubFee := fee * opt.RegionSubRate // 剩余可分配的佣金 - total := int64(fee*1e6) - int64(pvdFee*1e6) - int64(sysFee*1e6) - int64(regionFee*1e6) - int64(regionSubFee*1e6) - int64(StoreSubsidyRate*1e6) - int64(regionFee*1e6) - int64(globalFee*1e6) - int64(selfBuyGlobalFee*1e6) - int64(pushHandFee*1e6) - int64(merchantFee*1e6) - int64(newAgentFee*1e6) + total := int64(fee*1e6) - int64(pvdFee*1e6) - int64(sysFee*1e6) - int64(regionFee*1e6) - int64(regionSubFee*1e6) - int64(StoreSubsidyRate*1e6) - int64(RedPacketRate*1e6) - int64(globalFee*1e6) - int64(selfBuyGlobalFee*1e6) - int64(pushHandFee*1e6) - int64(merchantFee*1e6) - int64(newAgentFee*1e6) for _, v := range opt.RateList { total -= int64(fee * (v / 100) * 1e6) }