正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -24,7 +24,7 @@ public class USERS implements UserDetails { | @@ -24,7 +24,7 @@ public class USERS implements UserDetails { | ||
24 | private Integer userId; | 24 | private Integer userId; |
25 | 25 | ||
26 | @NotBlank(message="用户名不能为空",groups={InsertUser.class, UpdateUser.class}) | 26 | @NotBlank(message="用户名不能为空",groups={InsertUser.class, UpdateUser.class}) |
27 | - @Length(min = 1, max = 11, message = "username 长度必须在 {min} - {max} 之间",groups={InsertUser.class, UpdateUser.class}) | 27 | + @Length(min = 1, max = 18, message = "username 长度必须在 {min} - {max} 之间",groups={InsertUser.class, UpdateUser.class}) |
28 | @CheckUserExist(message = "用户已存在",groups=InsertUser.class) | 28 | @CheckUserExist(message = "用户已存在",groups=InsertUser.class) |
29 | private String username; | 29 | private String username; |
30 | 30 |
-
请 注册 或 登录 后发表评论