update 优化 校验角色是否有数据权限

This commit is contained in:
疯狂的狮子Li
2025-07-06 10:50:23 +08:00
parent 483107955e
commit 7488b091bc
8 changed files with 28 additions and 6 deletions

View File

@@ -27,6 +27,7 @@ public class PasswordLoginBody extends LoginBody {
*/
@NotBlank(message = "{user.password.not.blank}")
@Length(min = 5, max = 30, message = "{user.password.length.valid}")
// @Pattern(regexp = RegexConstants.PASSWORD, message = "{user.password.format.valid}")
private String password;
}

View File

@@ -27,6 +27,7 @@ public class RegisterBody extends LoginBody {
*/
@NotBlank(message = "{user.password.not.blank}")
@Length(min = 5, max = 30, message = "{user.password.length.valid}")
// @Pattern(regexp = RegexConstants.PASSWORD, message = "{user.password.format.valid}")
private String password;
/**