Sfoglia il codice sorgente

Merge branch 'feature_20260706_multi_tab' of algorithm/recommend-server into master

zhaohaipeng 5 giorni fa
parent
commit
1aa54f32a9

+ 3 - 3
recommend-server-service/src/main/java/com/tzld/piaoquan/recommend/server/service/tab/TabService.java

@@ -104,14 +104,14 @@ public class TabService {
         List<TabProto> tabProtos = new ArrayList<>(defaultTab);
 
         if (StringUtils.isBlank(tabParam.getUnionId())) {
-            log.error("unionId is empty");
+            // log.info("unionId is empty");
             return tabProtos;
         }
 
         String key = String.format(personalizationTabCondidateFormat, tabParam.getUnionId());
         String value = redisTemplate.opsForValue().get(key);
         if (StringUtils.isBlank(value)) {
-            log.error("unionId is not exist");
+            // log.error("unionId is not exist");
             return tabProtos;
         }
 
@@ -119,7 +119,7 @@ public class TabService {
                 .map(i -> Arrays.asList(i.split(PERSONALIZATION_TAB_SEPARATOR)))
                 .collect(Collectors.toList());
         if (tabCollect.size() != 4) {
-            log.error("redis value size nq 4, {}", value);
+            // log.error("redis value size nq 4, {}", value);
             return tabProtos;
         }