- AgreeOrRefuseCancel

This commit is contained in:
gazebo
2019-04-23 15:24:44 +08:00
parent ac16fa741b
commit 0a3a0d3266
2 changed files with 32 additions and 5 deletions

View File

@@ -149,3 +149,10 @@ func (c *BaseScheduler) ConfirmReceiveGoods(ctx *jxcontext.Context, order *model
}
return err
}
func (c *BaseScheduler) AgreeOrRefuseCancel(ctx *jxcontext.Context, order *model.GoodsOrder, isAcceptIt bool, reason string) (err error) {
if c.IsReallyCallPlatformAPI {
err = partner.GetPurchasePlatformFromVendorID(order.VendorID).AgreeOrRefuseCancel(ctx, order, isAcceptIt, reason)
}
return err
}