Sfoglia il codice sorgente

feature_filterUserUpload

丁云鹏 5 mesi fa
parent
commit
0adb8c6b16

+ 1 - 1
recommend-server-service/src/main/java/com/tzld/piaoquan/recommend/server/service/filter/strategy/VideoSourceTypeStrategy.java

@@ -101,7 +101,7 @@ public class VideoSourceTypeStrategy implements FilterStrategy {
                                         (ValueOperations<String, String>) redisOperations.opsForValue();
                                 status.forEach(v -> {
                                     operations.set(String.format(keyFormat, v.getVideoId()),
-                                            String.valueOf(v.getRecommendStatus()), RandomUtils.nextInt(30, 60),
+                                            String.valueOf(v.getVideoUid()), RandomUtils.nextInt(30, 60),
                                             TimeUnit.SECONDS);
                                 });