Pārlūkot izejas kodu

update 共富制度

tags/v1.9.4
DengBiao pirms 2 gadiem
vecāks
revīzija
c0204c1182
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      svc/small_public_platoon_relate_commission.go

+ 2
- 2
svc/small_public_platoon_relate_commission.go Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt