From 626feb32d22db5762a63ab56b079ee6cbefa4d86 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Thu, 19 Dec 2024 15:49:04 +0800
Subject: [PATCH] refactor(mall): 优化会员信息接口返回内容
---
src/main/java/cc/mrbird/febs/mall/dto/RegisterDto.java | 21 ++++++++++++---------
1 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/mall/dto/RegisterDto.java b/src/main/java/cc/mrbird/febs/mall/dto/RegisterDto.java
index 6ac2eab..0662267 100644
--- a/src/main/java/cc/mrbird/febs/mall/dto/RegisterDto.java
+++ b/src/main/java/cc/mrbird/febs/mall/dto/RegisterDto.java
@@ -18,14 +18,6 @@
@ApiModelProperty(value = "手机号", example = "15773001234")
private String account;
- @NotBlank(message = "姓名不能为空")
- @ApiModelProperty(value = "姓名", example = "王大洋")
- private String name;
-
- @NotBlank(message = "密码不能为空")
- @ApiModelProperty(value = "密码", example = "123456")
- private String password;
-
@ApiModelProperty(value = "类型 1-手机号 2-邮箱", example = "1")
private String type = "1";
@@ -33,8 +25,19 @@
@ApiModelProperty(value = "验证码", example = "123456")
private String code;
- @NotBlank(message = "邀请码不能为空")
+ @NotBlank(message = "密码不能为空")
+ @ApiModelProperty(value = "密码", example = "123456")
+ private String password;
+
+ @NotBlank(message = "密码不能为空")
+ @ApiModelProperty(value = "重复密码", example = "123456")
+ private String passwordAgain;
+
+ // @NotBlank(message = "邀请码不能为空")
@ApiModelProperty(value = "邀请码")
private String inviteId;
+ @ApiModelProperty(hidden = true)
+ private String registType;
+
}
--
Gitblit v1.9.1