|
@@ -161,6 +161,7 @@ public class BlacklistContainer {
|
|
|
|
|
|
String userType = this.matchUserBlacklistTypeEnum(uid, hotSceneType, cityCode, clientIP);
|
|
|
Collection<Long> tagIdSet = this.findExcludeTagIds(userType);
|
|
|
+ LOG.info("tagIdSet: {}", tagIdSet);
|
|
|
if (CollectionUtils.isEmpty(tagIdSet)) {
|
|
|
return videoIds;
|
|
|
}
|
|
@@ -178,6 +179,8 @@ public class BlacklistContainer {
|
|
|
private String matchUserBlacklistTypeEnum(String uid, Long hotSceneType, String cityCode, String clientIP) {
|
|
|
try {
|
|
|
LOG.info("计算用户黑名单类型,判断参数: uid={}, hotSceneType={}, cityCode={}, clientIP={}", uid, hotSceneType, cityCode, clientIP);
|
|
|
+ LOG.info("generalizationUserConditionConfig: {}", generalizationUserConditionConfig);
|
|
|
+ LOG.info("tagFilterConfigMap: {}", tagFilterConfigMap);
|
|
|
String key = this.calcUserRedisKey(uid);
|
|
|
Map<String, String> uidBlacklistMap = blacklistCache.get(key);
|
|
|
if (uidBlacklistMap.containsKey(uid)) {
|