创建标品测试

This commit is contained in:
苏尹岚
2020-04-22 14:04:16 +08:00
parent 72e966e531
commit 95c4f30897

View File

@@ -1875,7 +1875,7 @@ func CreateUpcSkuByExcelBin(ctx *jxcontext.Context, reader io.Reader, categoryID
}
skuNames, err := dao.GetSkuNames(db, nil, []string{*v.Upc}, "", false)
fmt.Println(utils.Format4Output(v, false))
fmt.Println(err.Error())
fmt.Println(err)
fmt.Println("test1111111111111111111111111111", utils.Format4Output(skuNames, false))
if len(skuNames) > 0 {
retVal = []*CreateUpcSkuByExcelErr{buildCreateUpcSkuByExcelErr(v, "商品在京西库中已存在!")}