This commit is contained in:
richboo111
2022-08-11 10:25:13 +08:00
parent 6419ea00de
commit ac465dcc7b
3 changed files with 11 additions and 30 deletions

View File

@@ -641,13 +641,7 @@ func (c *PurchaseHandler) GetOrderRealMobile(ctx *jxcontext.Context, order *mode
func (c *PurchaseHandler) AgreeOrRefuseCancel(ctx *jxcontext.Context, order *model.GoodsOrder, isAgree bool, reason string) (err error) {
if globals.EnableEbaiStoreWrite {
if isAgree {
//售后同意多次取消
err = api.EbaiAPI.OrderAgreeRefund(order.VendorOrderID)
//if order.Status > model.OrderStatusEndBegin {
// err = api.EbaiAPI.OrderAgreePartRefund(order.VendorOrderID)
//} else {
//
//}
} else {
err = api.EbaiAPI.OrderDisagreeRefund(order.VendorOrderID, reason)
}