29 lines
475 B
Java
29 lines
475 B
Java
|
|
package com.ruoyi.common.config;
|
||
|
|
|
||
|
|
import lombok.Data;
|
||
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||
|
|
import org.springframework.context.annotation.Configuration;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @Author 吴凯程
|
||
|
|
* @Date 2025/6/16
|
||
|
|
**/
|
||
|
|
@Data
|
||
|
|
@Configuration
|
||
|
|
@ConfigurationProperties(prefix = "oss")
|
||
|
|
public class OssFileProperties {
|
||
|
|
|
||
|
|
private String endpoint;
|
||
|
|
|
||
|
|
private String accessKeyId;
|
||
|
|
|
||
|
|
private String accessKeySecret;
|
||
|
|
|
||
|
|
private String bucketName;
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
}
|