This commit is contained in:
邹宗楠
2024-01-29 22:01:16 +08:00
parent 5b0d4fb4e7
commit 9f74f11ccd

View File

@@ -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)
}
}