Bladeren bron

唯品会

master
huangjiajun 3 maanden geleden
bovenliggende
commit
d9c40a9d2e
1 gewijzigde bestanden met toevoegingen van 1 en 4 verwijderingen
  1. +1
    -4
      wph/order.go

+ 1
- 4
wph/order.go Bestand weergeven

@@ -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…
Annuleren
Opslaan