Bladeren bron

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

tags/v1.3.9
huangjiajun 2 jaren geleden
bovenliggende
commit
d4eea67327
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. +1
    -0
      rule/public_platoon_settle.go
  2. +1
    -1
      svc/reward_commission.go

+ 1
- 0
rule/public_platoon_settle.go Bestand weergeven

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

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


Laden…
Annuleren
Opslaan