🎨 修改获取当前存储策略为获取抽象类, 而不是接口

This commit is contained in:
zhaojun1998
2019-12-28 23:19:31 +08:00
parent 65616e045b
commit c739878890
7 changed files with 17 additions and 17 deletions

View File

@@ -29,7 +29,7 @@ public class FileAsyncCacheService {
return;
}
FileService fileService = StorageTypeFactory.getStorageTypeService(storageStrategy);
AbstractFileService fileService = StorageTypeFactory.getStorageTypeService(storageStrategy);
log.info("缓存 {} 所有文件开始", storageStrategy.getDescription());
long startTime = System.currentTimeMillis();
try {