[代码优化](v2.6):修正配置文件[login-code: height]拼写错误

pull/590/head
zhengjie 2021-02-03 09:47:02 +08:00
parent e4e318aa4e
commit c968eb36ef
5 changed files with 7 additions and 6 deletions

View File

@ -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();
}

View File

@ -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 {

View File

@ -39,6 +39,7 @@ public class LoginProperties {
private boolean singleLogin = false;
private LoginCode loginCode;
/**
*
*/

View File

@ -66,7 +66,7 @@ login:
# 验证码高度
width: 111
# 验证码宽度
heigth: 36
height: 36
# 内容长度
length: 2
# 字体名称,为空则使用默认字体

View File

@ -65,7 +65,7 @@ login:
# 验证码高度
width: 111
# 验证码宽度
heigth: 36
height: 36
# 内容长度
length: 2
# 字体名称,为空则使用默认字体,如遇到线上乱码,设置其他字体即可