1
This commit is contained in:
@@ -638,9 +638,9 @@ func (c *PurchaseHandler) GetOrderRealMobile(ctx *jxcontext.Context, order *mode
|
|||||||
return mobile, err
|
return mobile, err
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *PurchaseHandler) AgreeOrRefuseCancel(ctx *jxcontext.Context, order *model.GoodsOrder, isAgree bool, reason string) (err error) {
|
func (c *PurchaseHandler) AgreeOrRefuseCancel(ctx *jxcontext.Context, order *model.GoodsOrder, isAcceptIt bool, reason string) (err error) {
|
||||||
if globals.EnableEbaiStoreWrite {
|
if globals.EnableEbaiStoreWrite {
|
||||||
if isAgree {
|
if isAcceptIt {
|
||||||
err = api.EbaiAPI.OrderAgreeRefund(order.VendorOrderID)
|
err = api.EbaiAPI.OrderAgreeRefund(order.VendorOrderID)
|
||||||
} else {
|
} else {
|
||||||
err = api.EbaiAPI.OrderDisagreeRefund(order.VendorOrderID, reason)
|
err = api.EbaiAPI.OrderDisagreeRefund(order.VendorOrderID, reason)
|
||||||
|
|||||||
Reference in New Issue
Block a user