From 4475d8f98e366886b3d7de3a5b44eed51b4c3085 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 18 Apr 2023 11:43:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 52989bf..f63abea 100644 --- a/svc/reward_commission.go +++ b/svc/reward_commission.go @@ -480,7 +480,7 @@ func CommFee(fee float64, opt *comm_plan.PlanOpt, types, isGoods string) (float6 if isGoods == "1" { orderBeforeRate := fee * opt.OrderBeforeRate fee1 := int64(fee*1e4) - int64(orderBeforeRate*1e4) - fee = float64(fee1) / 1e4 + fee = float64(int64(float64(fee1)/100)) / 100 } pvdFee := fee * opt.PvdRate // 供应商联盟比例 sysFee := fee * opt.SysRate // 平台比例