Authored by wangnan9279

goods列表抽离

... ... @@ -39,11 +39,7 @@ public class GoodsCoverHelper {
imagesUrl = MapUtils.getString(goodsMap, "images_url");
cover1 = MapUtils.getString(goodsMap, "cover_1");
cover2 = MapUtils.getString(goodsMap, "cover_2");
cover1 = StringUtils.isNotBlank(cover1) ? cover1 : imagesUrl;
cover2 = StringUtils.isNotBlank(cover2) ? cover2 : imagesUrl;
productMap.put("cover_1", cover1);
productMap.put("cover_2", cover2);
return;
break;
}
}
cover1 = StringUtils.isNotBlank(cover1) ? cover1 : imagesUrl;
... ...