|
@@ -76,7 +76,8 @@ func GetRewardCommission(engine *xorm.Engine, rmd *md.CommissionParam, isShare b |
|
|
if zhios_order_relate_utils.InArr(cfg.Mode, []string{"lv_price", "lv_winery", "extend_price", "niubei_amount"}) && zhios_order_relate_utils.StrToFloat64(rmd.OldPrice) > 0 { //价格为基数 |
|
|
if zhios_order_relate_utils.InArr(cfg.Mode, []string{"lv_price", "lv_winery", "extend_price", "niubei_amount"}) && zhios_order_relate_utils.StrToFloat64(rmd.OldPrice) > 0 { //价格为基数 |
|
|
comf = zhios_order_relate_utils.StrToFloat64(rmd.OldPrice) |
|
|
comf = zhios_order_relate_utils.StrToFloat64(rmd.OldPrice) |
|
|
} |
|
|
} |
|
|
if cfg.Mode == "public_platoon" { //公排 |
|
|
|
|
|
|
|
|
if cfg.Mode == "public_platoon" { |
|
|
|
|
|
//公排 |
|
|
//佣金扣除抽成后 |
|
|
//佣金扣除抽成后 |
|
|
fee, pvdFee, sysFee := CommFee(comf, cfg, "commission", rmd.IsGoods) |
|
|
fee, pvdFee, sysFee := CommFee(comf, cfg, "commission", rmd.IsGoods) |
|
|
////积分扣除抽成后 |
|
|
////积分扣除抽成后 |
|
|