|
|
@@ -776,6 +776,9 @@ func getCommission(d *md.CommissionParam, provider string) (string, string) { |
|
|
|
return zhios_order_relate_utils.Float64ToStr(com), currentPrice |
|
|
|
default: |
|
|
|
if zhios_order_relate_utils.StrToFloat64(d.GoodsPrice) == 0 { |
|
|
|
if zhios_order_relate_utils.StrToFloat64(d.PaidPrice) > 0 { |
|
|
|
return d.Commission, d.PaidPrice |
|
|
|
} |
|
|
|
//如果价格没有直接返回佣金 |
|
|
|
return d.Commission, d.Commission |
|
|
|
} |
|
|
|