|
|
@ -5,9 +5,7 @@ import org.springframework.beans.factory.annotation.Value;
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Created by macro on 2018/5/17.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Configuration
|
|
|
|
@Configuration
|
|
|
|
public class OssConfig {//阿里云OSS配置类,用来获取基本信息
|
|
|
|
public class OssConfig {//阿里云OSS配置类,用来获取基本信息
|
|
|
|
@Value("${aliyun.oss.endpoint}")
|
|
|
|
@Value("${aliyun.oss.endpoint}")
|
|
|
|