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