!81 fast版 oss上传出错

Merge pull request !81 from 李魁哲/lkz
This commit is contained in:
疯狂的狮子Li 2021-08-21 02:28:59 +00:00 committed by Gitee
commit 849a131982

View File

@ -68,7 +68,8 @@ public class OssFactory {
return service; return service;
} }
// 获取redis配置信息 创建对象 并缓存 // 获取redis配置信息 创建对象 并缓存
service = (ICloudStorageStrategy) ReflectUtils.newInstance(CloudServiceEnumd.getServiceClass(type), properties); service = (ICloudStorageStrategy) ReflectUtils.newInstance(CloudServiceEnumd.getServiceClass(type));
((AbstractCloudStorageStrategy)service).init(properties);
SERVICES.put(type, service); SERVICES.put(type, service);
SERVICES_UPDATE_TIME.put(type, nowDate); SERVICES_UPDATE_TIME.put(type, nowDate);
return service; return service;