Commit c968eb36 authored by zhengjie's avatar zhengjie
Browse files

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

parent e4e318aa
...@@ -30,13 +30,13 @@ import org.springframework.context.annotation.Configuration; ...@@ -30,13 +30,13 @@ import org.springframework.context.annotation.Configuration;
public class ConfigBeanConfiguration { public class ConfigBeanConfiguration {
@Bean @Bean
@ConfigurationProperties(prefix = "login", ignoreUnknownFields = true) @ConfigurationProperties(prefix = "login")
public LoginProperties loginProperties() { public LoginProperties loginProperties() {
return new LoginProperties(); return new LoginProperties();
} }
@Bean @Bean
@ConfigurationProperties(prefix = "jwt", ignoreUnknownFields = true) @ConfigurationProperties(prefix = "jwt")
public SecurityProperties securityProperties() { public SecurityProperties securityProperties() {
return new SecurityProperties(); return new SecurityProperties();
} }
......
...@@ -20,8 +20,8 @@ import lombok.Data; ...@@ -20,8 +20,8 @@ import lombok.Data;
/** /**
* 登录验证码配置信息 * 登录验证码配置信息
* *
* @author: liaojinlong * @author liaojinlong
* @date: 2020/6/10 18:53 * @date 2020/6/10 18:53
*/ */
@Data @Data
public class LoginCode { public class LoginCode {
......
...@@ -39,6 +39,7 @@ public class LoginProperties { ...@@ -39,6 +39,7 @@ public class LoginProperties {
private boolean singleLogin = false; private boolean singleLogin = false;
private LoginCode loginCode; private LoginCode loginCode;
/** /**
* 用户登录信息缓存 * 用户登录信息缓存
*/ */
......
...@@ -66,7 +66,7 @@ login: ...@@ -66,7 +66,7 @@ login:
# 验证码高度 # 验证码高度
width: 111 width: 111
# 验证码宽度 # 验证码宽度
heigth: 36 height: 36
# 内容长度 # 内容长度
length: 2 length: 2
# 字体名称,为空则使用默认字体 # 字体名称,为空则使用默认字体
......
...@@ -65,7 +65,7 @@ login: ...@@ -65,7 +65,7 @@ login:
# 验证码高度 # 验证码高度
width: 111 width: 111
# 验证码宽度 # 验证码宽度
heigth: 36 height: 36
# 内容长度 # 内容长度
length: 2 length: 2
# 字体名称,为空则使用默认字体,如遇到线上乱码,设置其他字体即可 # 字体名称,为空则使用默认字体,如遇到线上乱码,设置其他字体即可
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment