From 4f997f702292ad3c17a2ca4431a4101071a47bd3 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Wed, 10 Aug 2022 14:25:31 +0800 Subject: [PATCH] dd --- business/auth2/authprovider/defauther.go | 1 + business/partner/purchase/ebai/order_afs.go | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/business/auth2/authprovider/defauther.go b/business/auth2/authprovider/defauther.go index db2801b72..6af89984d 100644 --- a/business/auth2/authprovider/defauther.go +++ b/business/auth2/authprovider/defauther.go @@ -98,6 +98,7 @@ func (a *DefAuther) UnionFindAuthBind(curAuthType, curAuthTypeID string, unionAu } else if dao.IsNoRowsError(err) { err = nil } + globals.SugarLogger.Debug("输出一下authBindList", authBindList) } else { err = nil } diff --git a/business/partner/purchase/ebai/order_afs.go b/business/partner/purchase/ebai/order_afs.go index 399ba7ef7..85dc2e921 100644 --- a/business/partner/purchase/ebai/order_afs.go +++ b/business/partner/purchase/ebai/order_afs.go @@ -220,13 +220,12 @@ func (c *PurchaseHandler) callbackAfsMsg2Status(msg *ebaiapi.CallbackMsg) (order return orderStatus } -// 审核售后单申请 全额退单 +// 审核售后单申请 退货退款 func (c *PurchaseHandler) AgreeOrRefuseRefund(ctx *jxcontext.Context, order *model.AfsOrder, approveType int, reason string) (err error) { if globals.EnableEbaiStoreWrite { if approveType == partner.AfsApproveTypeRefused { err = api.EbaiAPI.OrderDisagreeReturnGoods(order.VendorOrderID, order.AfsOrderID, reason) } else { - err = api.EbaiAPI.OrderAgreeReturnGoods(order.VendorOrderID, order.AfsOrderID) } }