huangjiajun 1 月之前
父節點
當前提交
26ce46d804
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      svc/reward_commission.go

+ 1
- 1
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)
}


Loading…
取消
儲存