提交 fa2fd777 authored 作者: sin-ning@aliyun.com's avatar sin-ning@aliyun.com

- 修改密码 认证长度

上级 37da2b0b
......@@ -28,7 +28,7 @@ public class AdminAddDTO implements Serializable {
@ApiModelProperty(value = "密码", required = true, example = "buzhidao")
@NotEmpty(message = "密码不能为空")
@Length(min = 6, max = 16, message = "密码长度为 6-16 位")
@Length(min = 4, max = 16, message = "密码长度为 4-16 位")
private String password;
}
......@@ -22,7 +22,7 @@ public class AdminAuthenticationDTO {
@ApiModelProperty(value = "密码", required = true, example = "buzhidao")
@NotEmpty(message = "密码不能为空")
@Length(min = 6, max = 16, message = "密码长度为 6-16 位")
@Length(min = 4, max = 16, message = "密码长度为 4-16 位")
private String password;
}
......@@ -32,7 +32,7 @@ public class AdminUpdateDTO implements Serializable {
private String nickname;
@ApiModelProperty(value = "密码", example = "buzhidao")
@Length(min = 6, max = 16, message = "密码长度为 6-16 位")
@Length(min = 4, max = 16, message = "密码长度为 4-16 位")
private String password;
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论