...
|
...
|
@@ -650,6 +650,9 @@ public class ProductServiceImpl implements ProductService{ |
|
|
}
|
|
|
|
|
|
private String buildSaleCategoryFullUrl(String url) {
|
|
|
if(StringUtils.isBlank(url)) {
|
|
|
return "";
|
|
|
}
|
|
|
if (!StringUtils.startsWith(url, "http")){
|
|
|
return ImagesHelper.template2(url, "salecategoryimg").replaceAll("extent\\/\\{width}x\\{height}\\/","");
|
|
|
}else{
|
...
|
...
|
@@ -740,6 +743,6 @@ public class ProductServiceImpl implements ProductService{ |
|
|
sc.setLink(data.getLinkDetail());
|
|
|
sc.setImage(buildSaleCategoryFullUrl(data.getImageUrl()));
|
|
|
sc.setSub(new ArrayList<>());
|
|
|
return null;
|
|
|
return sc;
|
|
|
}
|
|
|
} |
...
|
...
|
|