Class ZerowebConfig
java.lang.Object
io.github.xezzon.zeroweb.common.config.ZerowebConfig
ZeroWeb 核心配置类,用于管理系统级别的各项配置。
该类通过 @ConfigurationProperties 注解与 zeroweb 前缀绑定,支持从
application.yml 或 application.properties 等配置文件中读取自定义配置。
用法示例:
在 application.yml 中配置:
zeroweb:
id-generator: UUID
jwt:
issuer: your-issuer.com
timeout: 3600
- Author:
- xezzon
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumID 生成策略的枚举值,定义了系统支持的各种 ID 生成方式。static classJWT (JSON Web Token) 的详细配置类。 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ZEROWEB
-
ID_GENERATOR
-
-
Constructor Details
-
ZerowebConfig
public ZerowebConfig()
-