From 2c58f660d4adf8f254bb0bd9488ce94be0ac8dd3 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 14 Jul 2022 14:47:46 +0800 Subject: [PATCH] =?UTF-8?q?add=20reverse:for=20v1.4.3=20=E7=A7=AF=E5=88=86?= =?UTF-8?q?=E5=88=86=E4=BD=A3=E8=AE=A1=E7=AE=97=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- svc/reward_commission.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/svc/reward_commission.go b/svc/reward_commission.go index f62f4ef..1bca2b5 100644 --- a/svc/reward_commission.go +++ b/svc/reward_commission.go @@ -16,7 +16,10 @@ import ( func GetRewardCommission(engine *xorm.Engine, rmd *md.CommissionParam, isShare bool, userId, provider, masterId string, returnAllLevel bool, extraData map[string]string, virType string) (float64, float64, float64, float64, *comm_plan.LvUser, error) { if virType == "commission" { - rmd.GoodsPrice = rmd.Commission + rmd.PaidPrice = rmd.Commission + if zhios_order_relate_utils.InArr(provider, []string{md.PVD_TB, md.PVD_TM, md.PVD_PDD, md.PVD_SN, md.PVD_KL, md.PVD_JD}) == false { + rmd.GoodsPrice = rmd.Commission + } } if rmd.Oid == "" { rmd.Oid = "1"