!663 回退 'Pull Request !662 : 发布 5.3.1 正式版'

* 回退 'Pull Request !662 : 发布 5.3.1 正式版'
This commit is contained in:
疯狂的狮子Li
2025-03-27 02:53:23 +00:00
parent 7a9f51fc7a
commit 8aa60abb1f
13 changed files with 25 additions and 24 deletions

View File

@@ -18,14 +18,14 @@ public class PasswordLoginBody extends LoginBody {
* 用户名
*/
@NotBlank(message = "{user.username.not.blank}")
@Length(min = 2, max = 30, message = "{user.username.length.valid}")
@Length(min = 2, max = 20, message = "{user.username.length.valid}")
private String username;
/**
* 用户密码
*/
@NotBlank(message = "{user.password.not.blank}")
@Length(min = 5, max = 30, message = "{user.password.length.valid}")
@Length(min = 5, max = 20, message = "{user.password.length.valid}")
private String password;
}