|
@@ -493,6 +493,9 @@ func CommFee(fee float64, opt *comm_plan.PlanOpt, types, isGoods string) (float6 |
|
|
total := int64(fee*1e4) - int64(pvdFee*1e4) - int64(sysFee*1e4) - int64(regionFee*1e4) - int64(regionSubFee*1e4) - int64(globalFee*1e4) - int64(pushHandFee*1e4) - int64(merchantFee*1e4) - int64(newAgentFee*1e4) |
|
|
total := int64(fee*1e4) - int64(pvdFee*1e4) - int64(sysFee*1e4) - int64(regionFee*1e4) - int64(regionSubFee*1e4) - int64(globalFee*1e4) - int64(pushHandFee*1e4) - int64(merchantFee*1e4) - int64(newAgentFee*1e4) |
|
|
|
|
|
|
|
|
fee = float64(total) / 1e4 |
|
|
fee = float64(total) / 1e4 |
|
|
|
|
|
if fee < 0 { |
|
|
|
|
|
fee = 0 |
|
|
|
|
|
} |
|
|
return fee, pvdFee, sysFee |
|
|
return fee, pvdFee, sysFee |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|