瀏覽代碼

add reverse:for v3.8.4 更新

tags/v3.8.4
huangjiajun 2 年之前
父節點
當前提交
f59eb6cf15
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. +4
    -3
      svc/reward_commission.go

+ 4
- 3
svc/reward_commission.go 查看文件

@@ -158,6 +158,7 @@ func GetRewardCommission(engine *xorm.Engine, rmd *md.CommissionParam, isShare b
ulink.ProfitList[k].Val = v.Val * zhios_order_relate_utils.StrToFloat64(commArr["integralRewardMultiple"])
}
}
comm(commArr, ulink)
return profit, pvdFee, sysFee, 0, ulink, nil
}
if cfg.Mode == "extend_price" { //直推奖励
@@ -235,9 +236,9 @@ func comm(commArr map[string]string, ulink *comm_plan.LvUser) *comm_plan.LvUser
ulink.ProfitList[k].Val = v.Val * zhios_order_relate_utils.StrToFloat64(commArr["integralRewardMultiple"])
}
}
}
if ulink.ParentUser != nil {
ulink.ParentUser = comm(commArr, ulink.ParentUser)
if ulink.ParentUser != nil {
ulink.ParentUser = comm(commArr, ulink.ParentUser)
}
}
return ulink
}


Loading…
取消
儲存