This commit is contained in:
邹宗楠
2023-12-26 09:22:32 +08:00
parent 1092d9bb9d
commit 607e3df9eb

View File

@@ -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)
}
}