From 9f74f11ccdfe8f1e0ab5d197b0a2cf989d956e97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 29 Jan 2024 22:01:16 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/system_store_sku.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) } }