Quellcode durchsuchen

唯品会

master
huangjiajun vor 4 Monaten
Ursprung
Commit
d9c40a9d2e
1 geänderte Dateien mit 1 neuen und 4 gelöschten Zeilen
  1. +1
    -4
      wph/order.go

+ 1
- 4
wph/order.go Datei anzeigen

@@ -44,9 +44,6 @@ func GetOrder(serviceParam map[string]string, param string) []map[string]string
"newCustomer": zhios_third_party_utils.IntToStr(v.NewCustomer),
"js_time": "",
}
if v.Status == 2 {
tmp["status"] = "已完结"
}
if v.SettledTime > 0 && v.Settled == 1 {
tmp["js_time"] = zhios_third_party_utils.Int64ToStr(v.SettledTime / 1000)
}
@@ -56,7 +53,7 @@ func GetOrder(serviceParam map[string]string, param string) []map[string]string
if v1.Status == 0 {
continue
}
commission += zhios_third_party_utils.StrToFloat64(v1.Commission)
commission += zhios_third_party_utils.StrToFloat64(v1.EstimateCommissionAfterDeduction)
payment += zhios_third_party_utils.StrToFloat64(v1.CommissionTotalCost)
}
tmp["payment"] = zhios_third_party_utils.Float64ToStr(payment)


Laden…
Abbrechen
Speichern