1
This commit is contained in:
@@ -43,10 +43,10 @@ func CopyOnStoreSkuToOther(ctx *jxcontext.Context, fromVendorStoreId, toStoreId
|
|||||||
switch step {
|
switch step {
|
||||||
case 1:
|
case 1:
|
||||||
// 1.加载门店商品,删除商品.当分类下没有商品时.删除分类
|
// 1.加载门店商品,删除商品.当分类下没有商品时.删除分类
|
||||||
errs := LoadingStoreSkuList(ctx, toApi, toStore.VendorStoreID)
|
//errs := LoadingStoreSkuList(ctx, toApi, toStore.VendorStoreID)
|
||||||
if errs != nil && len(errs) > 0 {
|
//if errs != nil && len(errs) > 0 {
|
||||||
return nil, errs[0]
|
// return nil, errs[0]
|
||||||
}
|
//}
|
||||||
case 2:
|
case 2:
|
||||||
// 同步分类
|
// 同步分类
|
||||||
fromCategoryList, _ := fromApi.RetailCatList(utils.Int2Str(fromVendorStoreId))
|
fromCategoryList, _ := fromApi.RetailCatList(utils.Int2Str(fromVendorStoreId))
|
||||||
|
|||||||
Reference in New Issue
Block a user