|
|
@@ -68,6 +68,7 @@ public class OssAutoConfiguration {
|
|
|
*/
|
|
|
@Bean
|
|
|
@ConditionalOnMissingBean(OssSigner.class)
|
|
|
+ @ConditionalOnProperty(name = "oss2.enable", havingValue = "true", matchIfMissing = true)
|
|
|
public OssSigner aliyunOssSigner(OssProperties2 properties2) {
|
|
|
return new AliyunOssSigner(properties2);
|
|
|
}
|