mirror of https://github.com/elunez/eladmin
[代码优化](v2.6):修正配置文件[login-code: height]拼写错误
parent
e4e318aa4e
commit
c968eb36ef
|
@ -30,13 +30,13 @@ import org.springframework.context.annotation.Configuration;
|
|||
public class ConfigBeanConfiguration {
|
||||
|
||||
@Bean
|
||||
@ConfigurationProperties(prefix = "login", ignoreUnknownFields = true)
|
||||
@ConfigurationProperties(prefix = "login")
|
||||
public LoginProperties loginProperties() {
|
||||
return new LoginProperties();
|
||||
}
|
||||
|
||||
@Bean
|
||||
@ConfigurationProperties(prefix = "jwt", ignoreUnknownFields = true)
|
||||
@ConfigurationProperties(prefix = "jwt")
|
||||
public SecurityProperties securityProperties() {
|
||||
return new SecurityProperties();
|
||||
}
|
||||
|
|
|
@ -20,8 +20,8 @@ import lombok.Data;
|
|||
/**
|
||||
* 登录验证码配置信息
|
||||
*
|
||||
* @author: liaojinlong
|
||||
* @date: 2020/6/10 18:53
|
||||
* @author liaojinlong
|
||||
* @date 2020/6/10 18:53
|
||||
*/
|
||||
@Data
|
||||
public class LoginCode {
|
||||
|
|
|
@ -39,6 +39,7 @@ public class LoginProperties {
|
|||
private boolean singleLogin = false;
|
||||
|
||||
private LoginCode loginCode;
|
||||
|
||||
/**
|
||||
* 用户登录信息缓存
|
||||
*/
|
||||
|
|
|
@ -66,7 +66,7 @@ login:
|
|||
# 验证码高度
|
||||
width: 111
|
||||
# 验证码宽度
|
||||
heigth: 36
|
||||
height: 36
|
||||
# 内容长度
|
||||
length: 2
|
||||
# 字体名称,为空则使用默认字体
|
||||
|
|
|
@ -65,7 +65,7 @@ login:
|
|||
# 验证码高度
|
||||
width: 111
|
||||
# 验证码宽度
|
||||
heigth: 36
|
||||
height: 36
|
||||
# 内容长度
|
||||
length: 2
|
||||
# 字体名称,为空则使用默认字体,如遇到线上乱码,设置其他字体即可
|
||||
|
|
Loading…
Reference in New Issue