huangjiajun 4 mesi fa
parent
commit
8d8f689cbb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      app/task/svc/svc_elm_order.go

+ 1
- 1
app/task/svc/svc_elm_order.go Vedi File

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


Caricamento…
Annulla
Salva