zhangbo 1 rok temu
rodzic
commit
5e022c8561

+ 1 - 5
recommend-server-service/src/main/java/com/tzld/piaoquan/recommend/server/service/rank/strategy/RankStrategyFlowThompsonModel.java

@@ -59,11 +59,7 @@ public class RankStrategyFlowThompsonModel extends RankService {
         Optional<RecallResult.RecallData> data = param.getRecallResult().getData().stream()
                 .filter(d -> d.getPushFrom().equals(pushFrom))
                 .findFirst();
-//        List<Video> videoList = data.get().getVideos();
-        List<Video> videoList = new ArrayList<>();
-        Video v1 = new Video();
-        v1.setVideoId(10000L);
-        videoList.add(v1);
+        List<Video> videoList = data.get().getVideos();
         if (videoList == null) {
             return Collections.emptyList();
         }