mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 20:35:35 +08:00
优化表单校验
This commit is contained in:
@@ -19,7 +19,6 @@ public class AdminRoleRequest implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@NotNull(message = "name参数不存在")
|
||||
@NotBlank(message = "请输入管理角色名")
|
||||
@Length(min = 1, max = 12, message = "管理角色名长度在1-16个字符之间")
|
||||
private String name;
|
||||
|
||||
Reference in New Issue
Block a user