|
|
@@ -147,7 +147,7 @@ func OrdersElmGet(p int, pageSize int, sTime, eTime int64, timeType string, pvd |
|
|
|
*v.PlatformCommissionFee = utils.Float64ToStr(fee) |
|
|
|
} |
|
|
|
res.Commission = utils.Float64ToStr(utils.StrToFloat64(*v.Income) - utils.StrToFloat64(*v.PlatformCommissionFee)) |
|
|
|
if v.Settle != nil { |
|
|
|
if v.Settle != nil && utils.StrToFloat64(*v.Settle) > 0 { |
|
|
|
res.RealCommission = utils.Float64ToStr(utils.StrToFloat64(*v.Settle) - utils.StrToFloat64(*v.PlatformCommissionFee)) |
|
|
|
} |
|
|
|
res.Title = *v.Title |
|
|
|