supeng пре 3 месеци
родитељ
комит
44ddc016fe

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

@@ -98,6 +98,7 @@ public class GeneralSpiderStrategy implements FilterStrategy {
 
 
     @Override
     @Override
     public List<Long> filter(FilterParam param) {
     public List<Long> filter(FilterParam param) {
+        log.info("generalSpiderStrategy filter param {}", JSON.toJSONString(param));
         if (param == null) {
         if (param == null) {
             return Collections.emptyList();
             return Collections.emptyList();
         }
         }
@@ -106,8 +107,6 @@ public class GeneralSpiderStrategy implements FilterStrategy {
             return param.getVideoIds();
             return param.getVideoIds();
         }
         }
 
 
-        log.info("generalSpiderStrategy filter param {}", JSON.toJSONString(param));
-
         // vid -> uid
         // vid -> uid
         List<String> keys = param.getVideoIds().stream()
         List<String> keys = param.getVideoIds().stream()
                 .map(id -> String.format(keyFormat, id))
                 .map(id -> String.format(keyFormat, id))