diff --git a/business/jxstore/cms/system_store_sku.go b/business/jxstore/cms/system_store_sku.go index b94ee695c..72566586c 100644 --- a/business/jxstore/cms/system_store_sku.go +++ b/business/jxstore/cms/system_store_sku.go @@ -189,7 +189,7 @@ func CopyMtToMT(ctx *jxcontext.Context, fromStore, toStore *dao.StoreDetail, isA if len(fromCategoryList) == model.NO { return nil, err } - toCategoryList, err := toApi.RetailCatList(fromStore.VendorStoreID) + toCategoryList, err := toApi.RetailCatList(toStore.VendorStoreID) if len(toCategoryList) == model.NO { return nil, err } @@ -232,7 +232,7 @@ func CopyMtToMT(ctx *jxcontext.Context, fromStore, toStore *dao.StoreDetail, isA break } i++ - time.Sleep(1 * time.Second) + time.Sleep(500 * time.Millisecond) } }