配置保护名单功能改为实时查询.
This commit is contained in:
@@ -96,7 +96,9 @@ public class InnerProtectionListService extends BaseService{
|
||||
if(dictMap.containsKey(info.getTargetType())) {
|
||||
putList = dictMap.get(info.getTargetType());
|
||||
}
|
||||
putList.add(info.getKeyword());
|
||||
if(!putList.contains(info.getKeyword())) {
|
||||
putList.add(info.getKeyword());
|
||||
}
|
||||
dictMap.put(info.getTargetType(), putList);
|
||||
}
|
||||
CacheUtils.put(Constants.CACHE_PROTECTION_LIST_DICT, dictMap);
|
||||
|
||||
Reference in New Issue
Block a user