Class ZerowebConfig

java.lang.Object
io.github.xezzon.zeroweb.common.config.ZerowebConfig

@Configuration @ConfigurationProperties(prefix="zeroweb") public class ZerowebConfig extends Object

ZeroWeb 核心配置类,用于管理系统级别的各项配置。 该类通过 @ConfigurationProperties 注解与 zeroweb 前缀绑定,支持从 application.ymlapplication.properties 等配置文件中读取自定义配置。

用法示例:application.yml 中配置:

zeroweb:
  id-generator: UUID
  jwt:
    issuer: your-issuer.com
    timeout: 3600
Author:
xezzon
  • Field Details

    • ZEROWEB

      public static final String ZEROWEB
      ZeroWeb 配置项的前缀,所有相关配置都将以此前缀开始。
      See Also:
    • ID_GENERATOR

      public static final String ID_GENERATOR
      ID 生成策略的配置键。
      See Also:
  • Constructor Details

    • ZerowebConfig

      public ZerowebConfig()