Browse Source

add reverse:for v1.3.7 收益计算更新

tags/v1.3.9
huangjiajun 2 years ago
parent
commit
d4eea67327
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      rule/public_platoon_settle.go
  2. +1
    -1
      svc/reward_commission.go

+ 1
- 0
rule/public_platoon_settle.go View File

@@ -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


+ 1
- 1
svc/reward_commission.go View File

@@ -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 {


Loading…
Cancel
Save