修复商品添加时多规格中sku图片前缀带域名的bug

This commit is contained in:
张乐
2020-09-11 15:59:36 +08:00
parent 0d6b2f6cbc
commit 87e3cbf655

View File

@@ -346,6 +346,7 @@ public class StoreProductServiceImpl extends ServiceImpl<StoreProductDao, StoreP
spav.setSuk(String.join(",",skuList));
// HashMap<String, Object> attrValues = setAttrValueByRequest(storeProductRequest);
}
spav.setImage(systemAttachmentService.clearPrefix(spav.getImage()));
spav.setAttrValue(JSON.toJSONString(attrValuesRequest.getAttrValue()));
storeProductAttrValues.add(spav);
}