|
|
@ -20,7 +20,6 @@ import lombok.AllArgsConstructor; |
|
|
|
import org.springblade.core.oss.props.OssProperties; |
|
|
|
import org.springblade.core.oss.props.OssProperties; |
|
|
|
import org.springblade.resource.builder.OssBuilder; |
|
|
|
import org.springblade.resource.builder.OssBuilder; |
|
|
|
import org.springblade.resource.mapper.OssMapper; |
|
|
|
import org.springblade.resource.mapper.OssMapper; |
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties; |
|
|
|
|
|
|
|
import org.springframework.context.annotation.Bean; |
|
|
|
import org.springframework.context.annotation.Bean; |
|
|
|
import org.springframework.context.annotation.Configuration; |
|
|
|
import org.springframework.context.annotation.Configuration; |
|
|
|
|
|
|
|
|
|
|
@ -31,7 +30,6 @@ import org.springframework.context.annotation.Configuration; |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Configuration |
|
|
|
@Configuration |
|
|
|
@AllArgsConstructor |
|
|
|
@AllArgsConstructor |
|
|
|
@EnableConfigurationProperties(OssProperties.class) |
|
|
|
|
|
|
|
public class OssConfiguration { |
|
|
|
public class OssConfiguration { |
|
|
|
|
|
|
|
|
|
|
|
private OssProperties ossProperties; |
|
|
|
private OssProperties ossProperties; |
|
|
|