+ IPurchasePlatformHandler.UpdateStoreCustomID

- 删除平台门店时,将平台门店的CUSTOMID设置为其平台ID本身
- 饿了么与微商城handler不注册了
This commit is contained in:
gazebo
2019-09-01 15:27:06 +08:00
parent 51727df4de
commit 0331e704e0
7 changed files with 36 additions and 12 deletions

View File

@@ -142,6 +142,7 @@ type IPurchasePlatformHandler interface {
ReadStore(ctx *jxcontext.Context, vendorStoreID string) (store *dao.StoreDetail, err error)
UpdateStore(db *dao.DaoDB, storeID int, userName string) (err error)
GetStoreStatus(ctx *jxcontext.Context, storeID int, vendorStoreID string) (storeStatus int, err error)
UpdateStoreCustomID(ctx *jxcontext.Context, vendorStoreID string, storeID int64) (err error)
// EnableAutoAcceptOrder(vendorStoreID string, isEnabled bool) error
// OpenStore(vendorStoreID string, userName string) error
// CloseStore(vendorStoreID, closeNotice, userName string) error