huangjiajun há 1 mês
ascendente
cometimento
26ce46d804
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      svc/reward_commission.go

+ 1
- 1
svc/reward_commission.go Ver ficheiro

@@ -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)
}


Carregando…
Cancelar
Guardar