1
This commit is contained in:
@@ -311,6 +311,7 @@ func (c *PurchaseHandler) PartRefundOrder(ctx *jxcontext.Context, order *model.G
|
||||
ReasonRemarks: reason,
|
||||
}
|
||||
date, _ := api.EbaiAPI.GetReverseOrder(order.VendorOrderID)
|
||||
globals.SugarLogger.Debug("============data := %s", utils.Format4Output(date, false))
|
||||
refundProductList := make([]*ebaiapi.RefundProductList, 0, 0)
|
||||
for _, v := range date {
|
||||
v2 := v.(map[string]interface{})
|
||||
@@ -327,6 +328,7 @@ func (c *PurchaseHandler) PartRefundOrder(ctx *jxcontext.Context, order *model.G
|
||||
refundProductList = append(refundProductList, refundProduct)
|
||||
}
|
||||
param.RefundProductList = refundProductList
|
||||
globals.SugarLogger.Debug("============param := %s", utils.Format4Output(param, false))
|
||||
err = api.EbaiAPI.OrderAgreePartRefund(param)
|
||||
} else {
|
||||
if reason == "" {
|
||||
|
||||
Reference in New Issue
Block a user