瀏覽代碼

update 共富制度

tags/v1.9.5
DengBiao 2 年之前
父節點
當前提交
59b5fef684
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      svc/small_public_platoon_relate_commission.go

+ 1
- 1
svc/small_public_platoon_relate_commission.go 查看文件

@@ -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…
取消
儲存