From 347edd32b7e01c07685707d7333390b4c93e0f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 10 Jul 2023 18:43:51 +0800 Subject: [PATCH] 1 --- platformapi/tao_vegetable/order_afs.go | 4 ++-- platformapi/tao_vegetable/order_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platformapi/tao_vegetable/order_afs.go b/platformapi/tao_vegetable/order_afs.go index b33521e3..d08f88e5 100644 --- a/platformapi/tao_vegetable/order_afs.go +++ b/platformapi/tao_vegetable/order_afs.go @@ -66,11 +66,11 @@ func (a *API) PartialRefundReason(req *request2.AlibabaTclsAelophyRefundCsapplyr } // PartialRefund 商户逆向取消订单 -func (a *API) PartialRefund(req *request2.AlibabaTclsAelophyRefundCsapplyRequest) error { +func (a *API) PartialRefund(req *request2.AlibabaTclsAelophyRefundCsapplyNewRequest) error { globals.SugarLogger.Debugf("PartialRefund := %s", utils.Format4Output(req, false)) client := ability3156.NewAbility3156(&a.client) - data, _ := client.AlibabaTclsAelophyRefundCsapply(req, a.token) + data, _ := client.AlibabaTclsAelophyRefundCsapplyNew(req, a.token) if !*data.ApiResult.Success { globals.SugarLogger.Debugf("requestId[%s],err[%s]", data.RequestId, utils.Format4Output(data, false)) diff --git a/platformapi/tao_vegetable/order_test.go b/platformapi/tao_vegetable/order_test.go index 791482d9..c4169d24 100644 --- a/platformapi/tao_vegetable/order_test.go +++ b/platformapi/tao_vegetable/order_test.go @@ -21,7 +21,7 @@ func TestName(t *testing.T) { func TestGetOrderDetail(t *testing.T) { requestParam := &request591.AlibabaAelophyOrderGetRequest{OrderGetRequest: &domain591.AlibabaAelophyOrderGetOrderGetRequest{ StoreId: utils.String2Pointer("JX668594"), - BizOrderId: utils.Int64ToPointer(5000900001958720922), + BizOrderId: utils.Int64ToPointer(5000900194372970922), }} data, err := apiTao.QueryOrderDetail(requestParam) globals.SugarLogger.Debugf("data := %s", utils.Format4Output(data, false))