package cn.wisenergy.web.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; /** * Jwt配置 * * @author lut */ @Data @Component @ConfigurationProperties(prefix = "jwt") public class JwtConfig { /** * 过期时间 */ private int expire; /** * 秘钥串 */ private String secret; }