From 6f32849a33b5798e9ab2634bac6a663d5a6ad20e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 28 Sep 2023 09:52:32 +0800 Subject: [PATCH] 1 --- platformapi/ebaiapi/order.go | 2 +- platformapi/ebaiapi/order_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platformapi/ebaiapi/order.go b/platformapi/ebaiapi/order.go index 658050b1..5a544937 100644 --- a/platformapi/ebaiapi/order.go +++ b/platformapi/ebaiapi/order.go @@ -556,7 +556,7 @@ func (a *API) OrderListAll(shopID string, baiduShopID int64, startTime, endTime return listOrder, nil } -// 查看部分退款订单详情 +// 查看部分退款订单详情(平台已经不再维护这个接口改用下面接口) func (a *API) OrderPartRefundGet(orderID string) (orderMap map[string]interface{}, err error) { result, err := a.AccessAPI("order.partrefund.get", map[string]interface{}{ "order_id": orderID, diff --git a/platformapi/ebaiapi/order_test.go b/platformapi/ebaiapi/order_test.go index 8e7a4593..8db7f303 100644 --- a/platformapi/ebaiapi/order_test.go +++ b/platformapi/ebaiapi/order_test.go @@ -65,7 +65,7 @@ func TestOrderAgreeRefund(t *testing.T) { } func TestGetReverseOrder(t *testing.T) { - date, _ := api.GetReverseOrder("4035480124822912660") + date, _ := api.GetReverseOrder("4098670052313925323") for _, v := range date { fmt.Println(v) } @@ -106,7 +106,7 @@ func TestOrderListAll(t *testing.T) { } func TestOrderPartRefundGet(t *testing.T) { - result, err := api.OrderPartRefundGet("4015750049354953219") + result, err := api.OrderPartRefundGet("4098670052313925323") if err != nil { t.Fatal(err) } else {