|
@@ -62,12 +62,11 @@ public class ProductConverter {
|
|
|
productVO.setUpdateTime(DateUtil.dateFormatStr(product.getGmtModified()));
|
|
|
|
|
|
List<ProductVO.ResourceRight> resourceRights = new ArrayList<>();
|
|
|
- contentIds.forEach(id -> {
|
|
|
- ProductVO.ResourceRight resourceRight = new ProductVO.ResourceRight();
|
|
|
+ ProductVO.ResourceRight resourceRight = new ProductVO.ResourceRight();
|
|
|
resourceRight.setResourceType(product.getResourceType());
|
|
|
- resourceRight.setResourceId(id);
|
|
|
+ resourceRight.setResourceId(product.getAlbumId());
|
|
|
resourceRights.add(resourceRight);
|
|
|
- });
|
|
|
+
|
|
|
productVO.setResourceRights(resourceRights);
|
|
|
|
|
|
return productVO;
|