jingdong bill

This commit is contained in:
苏尹岚
2020-09-29 10:58:15 +08:00
parent f97f519181
commit 3ed8c397f4
4 changed files with 5 additions and 4 deletions

View File

@@ -1015,6 +1015,7 @@ type GetJdShopOrdersResult struct {
StoreFreightSubsidy float64 `json:"storeFreightSubsidy"`
OfflineSettlementAmount float64 `json:"offlineSettlementAmount"`
EffectiveGMV int `json:"effectiveGMV"`
SrcOrderID int64 `json:"srcOrderId"`
TieredCommissionFee int `json:"tieredCommissionFee"`
OrgCode int `json:"orgCode"`
AfsAmount int `json:"afsAmount"`
@@ -1025,7 +1026,7 @@ type GetJdShopOrdersResult struct {
BusinessFinishTime int64 `json:"businessFinishTime"`
StationID int `json:"stationId"`
SettleOrderIDStr string `json:"settleOrderIdStr"`
FreightBill int `json:"freightBill"`
FreightBill float64 `json:"freightBill"`
GiftcardBill int `json:"giftcardBill"`
OrgName string `json:"orgName"`
OrderSourceName string `json:"orderSourceName"`

View File

@@ -266,7 +266,7 @@ func TestUpdateClosetStatus(t *testing.T) {
}
func TestGetJdShopOrders(t *testing.T) {
result, err := api.GetJdShopOrders("20200506", "20200508", "320406", "jd_jxcs1223")
result, err := api.GetJdShopOrders("20200903", "20200904", "320406", "jd_jxcs1223")
if err != nil {
t.Fatal(err)
}

View File

@@ -64,7 +64,7 @@ func TestCancelOrder(t *testing.T) {
t.Log(utils.Format4Output(result, false))
}
func TestQueryOrderStatus(t *testing.T) {
result, err := api.QueryOrderStatus("ESL96778164878526")
result, err := api.QueryOrderStatus("ESL96778449960134")
if err != nil {
t.Fatal(err)
}

View File

@@ -64,7 +64,7 @@ func TestGetCounty(t *testing.T) {
}
func TestFindSkuSiteStock(t *testing.T) {
result, err := api.FindSkuSiteStock(24339597, 69665406179)
result, err := api.FindSkuSiteStock(24339440, 70208031643)
if err != nil {
t.Fatal(err)
}