|
|
@@ -84,7 +84,7 @@ func GetRewardCommission(engine *xorm.Engine, rmd *md.CommissionParam, isShare b |
|
|
|
fmt.Println(com) |
|
|
|
fmt.Println(price) |
|
|
|
comf := zhios_order_relate_utils.StrToFloat64(com) |
|
|
|
if zhios_order_relate_utils.InArr(cfg.Mode, []string{"lv_price_public_platoon", "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_public_platoon", "lv_price", "lv_price_other", "lv_winery", "extend_price", "niubei_amount"}) && zhios_order_relate_utils.StrToFloat64(rmd.OldPrice) > 0 { //价格为基数 |
|
|
|
comf = zhios_order_relate_utils.StrToFloat64(rmd.OldPrice) |
|
|
|
} |
|
|
|
if cfg.Mode == "public_platoon" { |
|
|
|