From bfc8878653b3d89716dd542d21e6d02373eed8fc Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 23 Jun 2026 15:09:37 +0800
Subject: [PATCH] fix(mall): 修复订单地址格式化问题
---
src/main/java/cc/mrbird/febs/mall/vo/MallMemberVo.java | 60 ++++--------------------------------------------------------
1 files changed, 4 insertions(+), 56 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/mall/vo/MallMemberVo.java b/src/main/java/cc/mrbird/febs/mall/vo/MallMemberVo.java
index 37c2cde..51b6fa8 100644
--- a/src/main/java/cc/mrbird/febs/mall/vo/MallMemberVo.java
+++ b/src/main/java/cc/mrbird/febs/mall/vo/MallMemberVo.java
@@ -1,9 +1,11 @@
package cc.mrbird.febs.mall.vo;
+import cc.mrbird.febs.vip.entity.MallVipConfig;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.util.Date;
@@ -12,70 +14,16 @@
@ApiModel(value = "MallMemberVo", description = "商城用户信息返回类")
public class MallMemberVo {
- @ApiModelProperty(value = "id")
- private Long id;
-
@ApiModelProperty(value = "昵称")
private String name;
-
- @ApiModelProperty(value = "手机号")
- private String phone;
@ApiModelProperty(value = "邮箱")
private String email;
- @ApiModelProperty(value = "性别")
- private String sex;
-
- @ApiModelProperty(value = "邀请码(如果是团长,邀请码就是团长特征码)")
- private String inviteId;
+ @ApiModelProperty(value = "手机")
+ private String phoneNumber;
@ApiModelProperty(value = "头像")
private String avatar;
-
- @ApiModelProperty(value = "余额")
- private BigDecimal balance;
-
- @ApiModelProperty(value = "代理等级")
- private String levelName;
-
- @ApiModelProperty(value = "推荐人昵称")
- private String referrerName;
-
- private String level;
-
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- private Date createdTime;
-
- /**
- * 账户状态;1-正常 2-禁用
- */
- private Integer accountStatus;
- public static final int ACCOUNTSTATUS_Y = 1;
- public static final int ACCOUNTSTATUS_N = 2;
-
- @ApiModelProperty(value = "是否设置收款方式", example = "1是2否")
- private Integer hasPayment = 2;
-
- @ApiModelProperty(value = "是否设置交易密码", example = "1是2否")
- private Integer hasTradePwd = 2;
-
- @ApiModelProperty(value = "绑定手机号")
- private String bindPhone;
-
- @ApiModelProperty(value = "累计消费")
- private BigDecimal totalCost;
-
- @ApiModelProperty(value = "赠送积分")
- private BigDecimal score;
-
- @ApiModelProperty(value = "抽奖积分")
- private BigDecimal prizeScore;
-
- @ApiModelProperty(value = "是否是团长 1: 是 2:否")
- private Integer isTeamLeader;
-
- @ApiModelProperty(value = "是否是代理 1: 申请中 2:是 3:否")
- private Integer isAgent;
}
--
Gitblit v1.9.1