- 修改密码 认证长度

pull/1/head
sin-ning@aliyun.com 2019-05-26 11:58:51 +08:00
parent 37da2b0bc9
commit fa2fd77719
3 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}