package org.springblade.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author zwx
 * @create 2021/1/16 18:03
 */
@Data
@Configuration
public class OssConfig {

	@Value("${oss.endpoint}")
	private String endpoint;
	@Value("${oss.access-key}")
	private String accessKey;
	@Value("${oss.secret-key}")
	private String secretKey;
	@Value("${oss.return-path}")
	private String returnPath;
	@Value("${oss.bucket-name}")
	private String bucketName;
}
