From 1f3e9dc85399290910cde7149806323305544e0d Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期六, 20 七月 2024 19:17:23 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/domain/Member.java |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/domain/Member.java b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/domain/Member.java
index 6b6a29e..7617608 100644
--- a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/domain/Member.java
+++ b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/domain/Member.java
@@ -10,11 +10,12 @@
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import java.io.Serializable;
+import java.math.BigDecimal;
 import java.time.LocalDateTime;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 import lombok.experimental.Accessors;
-
+import com.fasterxml.jackson.annotation.JsonInclude;
 /**
  * <p>
  * 会员表
@@ -43,24 +44,30 @@
     private String avatar;
 
     @ApiModelProperty(value = "会员姓名")
+    @JsonInclude(JsonInclude.Include.ALWAYS)
     private String realName;
 
     @ApiModelProperty(value = "身份证号")
     private String idNumber;
 
     @ApiModelProperty(value = "联系电话")
+    @JsonInclude(JsonInclude.Include.ALWAYS)
     private String phone;
 
     @ApiModelProperty(value = "性别 0=女,1=男,2=未知")
+    @JsonInclude(JsonInclude.Include.ALWAYS)
     private GenderEnum gender;
 
     @ApiModelProperty(value = "等级")
+    @JsonInclude(JsonInclude.Include.ALWAYS)
     private Integer level;
 
     @ApiModelProperty(value = "会员积分")
+    @JsonInclude(JsonInclude.Include.ALWAYS)
     private Integer totalPoints;
 
     @ApiModelProperty(value = "已用积分")
+    @JsonInclude(JsonInclude.Include.ALWAYS)
     private Integer usedPoints;
 
     @ApiModelProperty(value = "微信openid")
@@ -96,9 +103,14 @@
     private Integer delFlag;
 
     @ApiModelProperty(value = "1未认证,2已认证")
+    @JsonInclude(JsonInclude.Include.ALWAYS)
     private Integer isAuthentication;
 
     @ApiModelProperty(value = "后台对应id")
     private  Long userId;
 
+    @ApiModelProperty(value = "用户消费金额")
+    private BigDecimal money;
+
+
 }

--
Gitblit v1.7.1