- 自配送门店的PickupGoods不应调用平台相应API,模拟一个事件

This commit is contained in:
gazebo
2019-03-22 20:55:59 +08:00
parent 753ce06d0b
commit 837395f431
9 changed files with 59 additions and 29 deletions

View File

@@ -72,7 +72,7 @@ type IPurchasePlatformHandler interface {
GetStatusActionTimeout(statusType, status int) time.Duration
AcceptOrRefuseOrder(order *model.GoodsOrder, isAcceptIt bool, userName string) (err error)
PickupGoods(order *model.GoodsOrder, userName string) (err error)
PickupGoods(order *model.GoodsOrder, isSelfDeilivery bool, userName string) (err error)
// 将订单从购物平台配送转为自送
Swtich2SelfDeliver(order *model.GoodsOrder, userName string) (err error)