huangjiajun 1 month ago
parent
commit
0e00aea525
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      svc/reward_commission.go

+ 3
- 0
svc/reward_commission.go View File

@@ -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
}


Loading…
Cancel
Save