🐛 修复切换缓存时, 出现的异常 BUG

This commit is contained in:
zhaojun1998
2020-01-03 16:24:53 +08:00
parent 316566d479
commit 7b288b795c
2 changed files with 9 additions and 0 deletions

View File

@@ -164,6 +164,7 @@ public abstract class AbstractFileService implements FileService {
return null;
}).collect(Collectors.toSet());
collect.remove(null);
collect.add("/");
return collect;
} else {
return Collections.emptySet();