This commit is contained in:
gazebo
2019-07-24 18:20:15 +08:00
parent ac7c086b7a
commit c07b10ab16
4 changed files with 19 additions and 4 deletions

View File

@@ -33,6 +33,7 @@ type IDeliveryPlatformHandler interface {
CreateStore(ctx *jxcontext.Context, storeDetail *dao.StoreDetail2) (vendorStoreID string, status int, err error)
GetStore(ctx *jxcontext.Context, storeID int, vendorStoreID string) (storeDetail *dao.StoreDetail2, err error)
IsErrStoreNotExist(err error) bool
IsErrStoreExist(err error) bool
CreateWaybill(order *model.GoodsOrder, policy CreateWaybillPolicy) (bill *model.Waybill, err error)
CancelWaybill(bill *model.Waybill, cancelReasonID int, cancelReason string) (err error)