supeng il y a 3 mois
Parent
commit
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
     public List<Long> filter(FilterParam param) {
+        log.info("generalSpiderStrategy filter param {}", JSON.toJSONString(param));
         if (param == null) {
             return Collections.emptyList();
         }
@@ -106,8 +107,6 @@ public class GeneralSpiderStrategy implements FilterStrategy {
             return param.getVideoIds();
         }
 
-        log.info("generalSpiderStrategy filter param {}", JSON.toJSONString(param));
-
         // vid -> uid
         List<String> keys = param.getVideoIds().stream()
                 .map(id -> String.format(keyFormat, id))