package com.kidgrow.authclient.properties; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.cloud.context.config.annotation.RefreshScope; /** * 石家庄喜高科技有限责任公司 版权所有 © Copyright 2020
* * @Description: Security 配置,读取yml文件
* @Project:
* @CreateDate: Created in 2020/2/13 10:41
* @Author: liuke */ @Data @ConfigurationProperties(prefix = "kidgrow.security") @RefreshScope public class SecurityProperties { private AuthProperties auth = new AuthProperties(); private PermitProperties ignore = new PermitProperties(); private ValidateCodeProperties code = new ValidateCodeProperties(); }