添加注释, 优化代码.

This commit is contained in:
zhaojun1998
2019-09-08 21:07:38 +08:00
parent e9cf2af5c4
commit bc7e49a94c
3 changed files with 12 additions and 27 deletions

View File

@@ -21,7 +21,7 @@ public class SystemConfigService {
public FileService getCurrentFileService() {
SystemConfig systemConfig = getSystemConfig();
StorageTypeEnum storageStrategy = systemConfig.getStorageStrategy();
return StorageTypeFactory.getTrafficMode(storageStrategy);
return StorageTypeFactory.getStorageTypeService(storageStrategy);
}
}