From e28f4db774879138d947b32f7e9f1ec8e5e56077 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Fri, 12 Jun 2026 15:00:03 +0800
Subject: [PATCH] feat(mall): 优化用户注册登录及订单管理功能
---
src/main/java/cc/mrbird/febs/mall/dto/ForgetPwdDto.java | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/mall/dto/ForgetPwdDto.java b/src/main/java/cc/mrbird/febs/mall/dto/ForgetPwdDto.java
index 2e402c8..ab8410e 100644
--- a/src/main/java/cc/mrbird/febs/mall/dto/ForgetPwdDto.java
+++ b/src/main/java/cc/mrbird/febs/mall/dto/ForgetPwdDto.java
@@ -15,15 +15,16 @@
@ApiModel(value = "ForgetPwdDto", description = "忘记/修改密码参数接收类")
public class ForgetPwdDto {
- @NotBlank(message = "账号不能为空")
- @ApiModelProperty(value = "账号", example = "15773001234")
- private String account;
-
- @NotBlank(message = "密码不能为空")
+ @NotBlank(message = "The password cannot be empty")
@ApiModelProperty(value = "新密码", example = "123456")
private String password;
- @NotBlank(message = "验证码不能为空")
- @ApiModelProperty(value = "验证码", example = "123456")
- private String code;
+ @NotBlank(message = "The new password cannot be empty")
+ @ApiModelProperty(value = "新密码", example = "123456")
+ private String newPassword;
+
+ @NotBlank(message = "Confirm that the new password cannot be empty")
+ @ApiModelProperty(value = "新密码", example = "123456")
+ private String newPasswordAgain;
+
}
--
Gitblit v1.9.1