From 5d124fd8d5734469c9606e0cb205518bd19f5065 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 25 Jul 2022 16:59:33 +0800 Subject: [PATCH] =?UTF-8?q?add=20reverse:for=20v1.5.5=20=E5=85=AC=E6=8E=92?= =?UTF-8?q?=E8=BF=94=E7=A7=AF=E5=88=86=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- svc/public_platoon_relate_commission.go | 2 +- svc/reward_commission.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/svc/public_platoon_relate_commission.go b/svc/public_platoon_relate_commission.go index b161a78..ba48222 100644 --- a/svc/public_platoon_relate_commission.go +++ b/svc/public_platoon_relate_commission.go @@ -58,8 +58,8 @@ func BatchGetPublicPlatoonRelateCommissionByOrder(engine *xorm.Engine, masterId var directPush = make(map[string]string) var selfRateList = make(map[string]string) var commonWealthSystem = make(map[string]string) - var pendingAmount = param.PendingAmount for _, coinId := range lvGrade.ReturnType { + var pendingAmount = param.PendingAmount if zhios_order_relate_utils.StrToInt(coinId) > 0 { //积分更换基数 pendingAmount = param.PendingIntegral } diff --git a/svc/reward_commission.go b/svc/reward_commission.go index c704a0a..924e985 100644 --- a/svc/reward_commission.go +++ b/svc/reward_commission.go @@ -508,8 +508,8 @@ func BatchGetPublicPlatoonRelateCommissionByGoods(engine *xorm.Engine, masterId var directPush = make(map[string]string) var selfRateList = make(map[string]string) var commonWealthSystem = make(map[string]string) - var pendingAmount = param.PendingAmount for _, coinId := range lvGrade.ReturnType { + var pendingAmount = param.PendingAmount if zhios_order_relate_utils.StrToInt(coinId) > 0 { //积分更换基数 pendingAmount = param.PendingIntegral }