|
|
@@ -168,6 +168,11 @@ func GetRewardCommission(engine *xorm.Engine, rmd *md.CommissionParam, isShare b |
|
|
|
"source": newProvider, |
|
|
|
} |
|
|
|
reward, parentUid := ExtendPriceReward(engine, param, cfg) |
|
|
|
for k, v := range reward { |
|
|
|
if zhios_order_relate_utils.StrToFloat64(v) < 0 { |
|
|
|
reward[k] = "0" |
|
|
|
} |
|
|
|
} |
|
|
|
//直推收益处理 |
|
|
|
if parentUid > 0 { |
|
|
|
ulink = getRewardLink(zhios_order_relate_utils.IntToStr(parentUid), 1, reward, ulink, "extend", cfg) |
|
|
|