Browse Source

update 共富制度

tags/v1.9.5
DengBiao 2 years ago
parent
commit
59b5fef684
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      svc/small_public_platoon_relate_commission.go

+ 1
- 1
svc/small_public_platoon_relate_commission.go View File

@@ -80,7 +80,7 @@ func BatchSmallGetPublicPlatoonRelateCommission(engine *xorm.Engine, masterId st
"key": "is_open",
"value": 1,
})
if len(fatherPositions) > userPublicPlatoonSetting.SeveralTimes {
if len(fatherPositions) > userPublicPlatoonSetting.SeveralRows {
remainder1 := (userPublicPlatoonRelation.ReturnCommissionNum) % userPublicPlatoonSetting.SeveralRows
if remainder1 == 0 {
fatherPosition = fatherPositions[userPublicPlatoonSetting.SeveralRows-1]


Loading…
Cancel
Save