rollback
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user