修复商品添加时多规格中sku图片前缀带域名的bug
This commit is contained in:
@@ -346,6 +346,7 @@ public class StoreProductServiceImpl extends ServiceImpl<StoreProductDao, StoreP
|
|||||||
spav.setSuk(String.join(",",skuList));
|
spav.setSuk(String.join(",",skuList));
|
||||||
// HashMap<String, Object> attrValues = setAttrValueByRequest(storeProductRequest);
|
// HashMap<String, Object> attrValues = setAttrValueByRequest(storeProductRequest);
|
||||||
}
|
}
|
||||||
|
spav.setImage(systemAttachmentService.clearPrefix(spav.getImage()));
|
||||||
spav.setAttrValue(JSON.toJSONString(attrValuesRequest.getAttrValue()));
|
spav.setAttrValue(JSON.toJSONString(attrValuesRequest.getAttrValue()));
|
||||||
storeProductAttrValues.add(spav);
|
storeProductAttrValues.add(spav);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user