- remove RunParallelTask

- refactor partner.SyncStoreCategory.
This commit is contained in:
gazebo
2018-10-26 13:38:35 +08:00
parent 5f35965fee
commit 6c7b9afd10
8 changed files with 30 additions and 42 deletions

View File

@@ -114,7 +114,7 @@ type IMultipleStoresHandler interface {
type ISingleStoreHandler interface {
IPurchasePlatformHandler
SyncStoresCategories(db *dao.DaoDB, storeIDs []int, userName string) (err error)
SyncStoreCategory(ctx *jxcontext.Context, parentTask tasksch.ITask, storeID int, isAsync bool) (hint string, err error)
ReadStoreCategories(storeID int) (cats []*model.SkuCategory, err error)
ReadStoreSku(storeID, skuID int) (skuNameExt *model.SkuNameExt, err error)