Просмотр исходного кода

update AlbumService#getPlaylistItems

reghao 1 год назад
Родитель
Сommit
2ad4e4a465

+ 1 - 1
content/content-service/src/main/java/cn/reghao/tnb/content/app/vod/service/AlbumService.java

@@ -230,7 +230,7 @@ public class AlbumService {
         AlbumInfo albumInfo = new AlbumInfo(postAlbum);
         AlbumInfo albumInfo = new AlbumInfo(postAlbum);
         int postType = postAlbum.getPostType();
         int postType = postAlbum.getPostType();
         int total = albumRepository.countPostItem(albumId);
         int total = albumRepository.countPostItem(albumId);
-        Page page1 = new Page(1, 100);
+        Page page1 = new Page(1, 1000);
         List<PostItem> items = albumRepository.getPostItems(page1, albumId);
         List<PostItem> items = albumRepository.getPostItems(page1, albumId);
         List<String> contentIds = items.stream().map(PostItem::getPostId).collect(Collectors.toList());
         List<String> contentIds = items.stream().map(PostItem::getPostId).collect(Collectors.toList());
         AlbumItem albumItem;
         AlbumItem albumItem;