From d4eea673279c631ac02e86777a868a0f95df59ae Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 13 Jul 2022 21:24:00 +0800 Subject: [PATCH] =?UTF-8?q?add=20reverse:for=20v1.3.7=20=E6=94=B6=E7=9B=8A?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rule/public_platoon_settle.go | 1 + svc/reward_commission.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/rule/public_platoon_settle.go b/rule/public_platoon_settle.go index 46c46f1..011a065 100644 --- a/rule/public_platoon_settle.go +++ b/rule/public_platoon_settle.go @@ -7,6 +7,7 @@ import ( "xorm.io/xorm" ) +//共富收益 func PublicPlatoonSettle(session *xorm.Session, ItemTitle, ordId string, uid, coinId int, amount float64) bool { now := time.Now() var data model.UserPublicPlatoonAmount diff --git a/svc/reward_commission.go b/svc/reward_commission.go index d4c024d..94a4dda 100644 --- a/svc/reward_commission.go +++ b/svc/reward_commission.go @@ -109,7 +109,7 @@ func GetRewardCommission(engine *xorm.Engine, rmd *md.CommissionParam, isShare b ulink = getRewardLink(reward.DirectPushBenefitUid, 1, reward.DirectPush, ulink) //自购 ulink = getRewardLink(reward.Uid, 0, reward.SelfRateList, ulink) - return profit, pvdFee, sysFee, 0, nil, nil + return profit, pvdFee, sysFee, 0, ulink, nil } } func getRewardLink(uid string, diff int, reward map[string]string, ulinkParent *comm_plan.LvUser) *comm_plan.LvUser {