Skip to content

Commit

Permalink
- 修改密码 认证长度
Browse files Browse the repository at this point in the history
  • Loading branch information
cherishsince committed May 26, 2019
1 parent 37da2b0 commit fa2fd77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}

0 comments on commit fa2fd77

Please sign in to comment.