- 修改密码 认证长度

master
sin-ning@aliyun.com 7 years ago
parent 37da2b0bc9
commit fa2fd77719

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

Loading…
Cancel
Save