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

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

@@ -115,7 +115,7 @@ public class SystemConfigService {
systemConfigRepository.save(systemConfig);
}
public FileService getCurrentFileService() {
public AbstractFileService getCurrentFileService() {
StorageTypeEnum storageStrategy = getCurrentStorageStrategy();
return StorageTypeFactory.getStorageTypeService(storageStrategy);
}