|
@@ -178,6 +178,8 @@ public class SportsEquipmentFacilityServiceImpl extends ServiceImpl<SportsEquipm
|
|
|
if (!CollectionUtils.isEmpty(imageList)) {
|
|
if (!CollectionUtils.isEmpty(imageList)) {
|
|
|
categoryVo.setImageList(imageList.stream().map(StoreImg::getImgUrl)
|
|
categoryVo.setImageList(imageList.stream().map(StoreImg::getImgUrl)
|
|
|
.collect(Collectors.toList()));
|
|
.collect(Collectors.toList()));
|
|
|
|
|
+ } else {
|
|
|
|
|
+ categoryVo.setImageList(new ArrayList<>());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
result.add(categoryVo);
|
|
result.add(categoryVo);
|