记得上下班打卡 | git大法好,push需谨慎

Commit 067636dd authored by 张国柄's avatar 张国柄

+api:店铺商品管理:批量导入数据;

parent 27f158ac
......@@ -98,6 +98,7 @@ public class GoblinStoreMgtGoodsImportService {
lastGoodsInfoVo.setCoverPic(imageList.get(0));
}
lastGoodsInfoVo.setDetails(lastGoodsInfoVo.getName());
lastGoodsInfoVo.setSpuType(0);//*
lastGoodsInfoVo.setSpecMode("1");//*
lastGoodsInfoVo.setShelvesHandle("1");
......@@ -220,6 +221,8 @@ public class GoblinStoreMgtGoodsImportService {
String[] skuImgArr = dt.getSkuImg().replace("【图片链接】", "").replace(";", ";").split(";");
if (skuImgArr.length > 1) throw new LiquidnetServiceException("-1", "数据内容不规范【规格图片仅支持1张】");
skuInfoVo.setSkuPic(skuImgArr[0]);
} else {
// skuInfoVo.setSkuPic("");// 设置默认图片
}
if (StringUtils.isNotEmpty(dt.getSkuBarCode())) {
if (Pattern.matches(ALPHABET_NUMBER_32, dt.getSkuCode())) throw new LiquidnetServiceException("-1", "数据内容不规范【规格条码格式错误】");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment