From 607e3df9eb63906ad07b700ea9f69fa9a8030ce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 26 Dec 2023 09:22:32 +0800 Subject: [PATCH] 1 --- business/partner/purchase/ebai/order_afs.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/business/partner/purchase/ebai/order_afs.go b/business/partner/purchase/ebai/order_afs.go index e15065e3b..a0c58eac5 100644 --- a/business/partner/purchase/ebai/order_afs.go +++ b/business/partner/purchase/ebai/order_afs.go @@ -284,11 +284,8 @@ func (c *PurchaseHandler) AgreeOrRefuseRefund(ctx *jxcontext.Context, order *mod } else if approveType == partner.AfsApproveTypeRefusedToRefundMoney { return errors.New("此平台暂时不支持,退货转退款") } else { - param = &ebaiapi.RefundOrderExamine{ - ActionType: ebaiapi.RefundTypeAgree, - ReasonCode: "", - ReasonRemarks: reason, - } + param.ActionType = ebaiapi.RefundTypeAgree + param.ReasonRemarks = reason err = api.EbaiAPI.OrderAgreeReturnGoods(param) } }