瀏覽代碼

更新

master
huangjiajun 4 月之前
父節點
當前提交
9b4b33e93e
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. +6
    -0
      lib/comm_plan/ds_check.go

+ 6
- 0
lib/comm_plan/ds_check.go 查看文件

@@ -166,6 +166,12 @@ func CalReturnAmountAndRatioDsSecond(level, ownbuyReturnType, peerNum int, userT
newFee = node.Profit
}
ratio := getVirtualCoinRatioDsOwn(userType, level, peerNum, opt.UserRate, coinId, 0)
for k := range opt.VirtualCoinMoneyRatioList {
if k == 0 {
continue
}
opt.VirtualCoinMoneyRatioList[k] = "1"
}
amount := getCoinAmount(ratio, zhios_order_relate_utils.StrToInt(coinId), newFee, opt.VirtualCoinMoneyRatioList)
if coinId == "0" { //
commission = amount


Loading…
取消
儲存