Class ZerowebFileConfig
java.lang.Object
io.github.xezzon.zeroweb.common.config.ZerowebFileConfig
@Configuration
@ConfigurationProperties(prefix="zeroweb.file")
public class ZerowebFileConfig
extends Object
文件服务相关的配置属性类。
该类通过 @ConfigurationProperties 注解与 zeroweb.file 前缀绑定,
用于从 Spring Boot 配置文件中读取文件存储相关的自定义配置。
用法示例:
在 application.yml 中配置:
zeroweb:
file:
provider: S3
- Author:
- xezzon
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PREFIX
-
-
Constructor Details
-
ZerowebFileConfig
public ZerowebFileConfig()
-