From fa2fd7771955686f5dec564359b1bcf386641734 Mon Sep 17 00:00:00 2001 From: "sin-ning@aliyun.com" Date: Sun, 26 May 2019 11:58:51 +0800 Subject: [PATCH] =?UTF-8?q?=20-=20=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81=20?= =?UTF-8?q?=E8=AE=A4=E8=AF=81=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cn/iocoder/mall/admin/api/dto/admin/AdminAddDTO.java | 2 +- .../mall/admin/api/dto/admin/AdminAuthenticationDTO.java | 2 +- .../cn/iocoder/mall/admin/api/dto/admin/AdminUpdateDTO.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/system/system-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/admin/AdminAddDTO.java b/system/system-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/admin/AdminAddDTO.java index 6d07ddb39..79ed25335 100644 --- a/system/system-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/admin/AdminAddDTO.java +++ b/system/system-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/admin/AdminAddDTO.java @@ -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; } diff --git a/system/system-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/admin/AdminAuthenticationDTO.java b/system/system-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/admin/AdminAuthenticationDTO.java index f20c9cb2e..ab607dc13 100644 --- a/system/system-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/admin/AdminAuthenticationDTO.java +++ b/system/system-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/admin/AdminAuthenticationDTO.java @@ -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; } diff --git a/system/system-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/admin/AdminUpdateDTO.java b/system/system-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/admin/AdminUpdateDTO.java index f6b189632..5fac82467 100644 --- a/system/system-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/admin/AdminUpdateDTO.java +++ b/system/system-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/admin/AdminUpdateDTO.java @@ -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; }