mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 01:25:28 +08:00
fix: 用户管理导入用户时校验账号最小长度
This commit is contained in:
parent
ba70f9bb2d
commit
768c478078
@ -39,7 +39,7 @@ public class SysUserBo extends BaseEntity {
|
||||
*/
|
||||
@Xss(message = "用户账号不能包含脚本字符")
|
||||
@NotBlank(message = "用户账号不能为空")
|
||||
@Size(min = 0, max = 30, message = "用户账号长度不能超过{max}个字符")
|
||||
@Size(min = 2, max = 30, message = "用户账号长度必须在{min}到{max}个字符之间")
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user