|
@@ -480,7 +480,7 @@ func CommFee(fee float64, opt *comm_plan.PlanOpt, types, isGoods string) (float6 |
|
|
if isGoods == "1" { |
|
|
if isGoods == "1" { |
|
|
orderBeforeRate := fee * opt.OrderBeforeRate |
|
|
orderBeforeRate := fee * opt.OrderBeforeRate |
|
|
fee1 := int64(fee*1e4) - int64(orderBeforeRate*1e4) |
|
|
fee1 := int64(fee*1e4) - int64(orderBeforeRate*1e4) |
|
|
fee = float64(fee1) / 1e4 |
|
|
|
|
|
|
|
|
fee = float64(int64(float64(fee1)/100)) / 100 |
|
|
} |
|
|
} |
|
|
pvdFee := fee * opt.PvdRate // 供应商联盟比例 |
|
|
pvdFee := fee * opt.PvdRate // 供应商联盟比例 |
|
|
sysFee := fee * opt.SysRate // 平台比例 |
|
|
sysFee := fee * opt.SysRate // 平台比例 |
|
|