package com.central.admin.properties; import lombok.Getter; import lombok.Setter; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.cloud.context.config.annotation.RefreshScope; /** * 索引配置 * * @author zlt */ @Setter @Getter @ConfigurationProperties(prefix = "zlt.indices") @RefreshScope public class IndexProperties { /** * 配置过滤的索引名:默认只显示这些索引 */ private String[] show; }