Skip to content

Commit 343ebe1

Browse files
committed
Update UpdateAdminPasswordParam.java
1 parent 130bfa5 commit 343ebe1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mall-admin/src/main/java/com/macro/mall/dto/UpdateAdminPasswordParam.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
@Getter
1414
@Setter
1515
public class UpdateAdminPasswordParam {
16+
@NotEmpty
1617
@ApiModelProperty(value = "用户名", required = true)
17-
@NotEmpty(message = "用户名不能为空")
1818
private String username;
19+
@NotEmpty
1920
@ApiModelProperty(value = "旧密码", required = true)
20-
@NotEmpty(message = "旧密码不能为空")
2121
private String oldPassword;
22+
@NotEmpty
2223
@ApiModelProperty(value = "新密码", required = true)
23-
@NotEmpty(message = "新密码不能为空")
2424
private String newPassword;
2525
}

0 commit comments

Comments
 (0)