根据excel创建标品加个暂停试试

This commit is contained in:
苏尹岚
2020-04-10 17:14:20 +08:00
parent 2a93048f1c
commit 83a954b96d

View File

@@ -1977,6 +1977,7 @@ func CreateUpcSkuByExcelBin(ctx *jxcontext.Context, reader io.Reader) (hint stri
skuName.IsGlobal = model.YES
skuName.CategoryID = model.NoCatCatgoryID
skuName.Skus[0].Status = model.SkuStatusNormal
time.Sleep(time.Second / 4)
_, err = AddSkuName(ctx, skuName, ctx.GetUserName())
if err != nil {
createUpcSkuByExcelErrList = append(createUpcSkuByExcelErrList, buildCreateUpcSkuByExcelErr(v, err.Error()))