mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-23 07:41:53 +08:00
code review:会员中心的详情返回 totalPoint 积分
This commit is contained in:
parent
bef7937835
commit
99dd33c408
@ -31,9 +31,12 @@ public class MemberUserRespVO extends MemberUserBaseVO {
|
|||||||
|
|
||||||
// ========== 其它信息 ==========
|
// ========== 其它信息 ==========
|
||||||
|
|
||||||
@Schema(description = "积分", example = "100")
|
@Schema(description = "积分", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
|
||||||
private Integer point;
|
private Integer point;
|
||||||
|
|
||||||
|
@Schema(description = "总积分", requiredMode = Schema.RequiredMode.REQUIRED, example = "2000")
|
||||||
|
private Integer totalPoint;
|
||||||
|
|
||||||
@Schema(description = "会员标签", example = "[红色, 快乐]")
|
@Schema(description = "会员标签", example = "[红色, 快乐]")
|
||||||
private List<String> tagNames;
|
private List<String> tagNames;
|
||||||
|
|
||||||
@ -43,7 +46,7 @@ public class MemberUserRespVO extends MemberUserBaseVO {
|
|||||||
@Schema(description = "用户分组", example = "购物达人")
|
@Schema(description = "用户分组", example = "购物达人")
|
||||||
private String groupName;
|
private String groupName;
|
||||||
|
|
||||||
@Schema(description = "用户经验值", example = "100")
|
@Schema(description = "用户经验值", requiredMode = Schema.RequiredMode.REQUIRED, example = "200")
|
||||||
private Integer experience;
|
private Integer experience;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user