From 16c85422502bfb9fd40826e042984e59988d970e Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Wed, 08 Jan 2025 13:45:30 +0800
Subject: [PATCH] fix(mall): 修复商品分类为空时添加到列表的逻辑 - 修改了 ApiMallGoodsCategoryServiceImpl 类中的逻辑判断 - 从 if(CollUtil.isNotEmpty(mallGoods)) 改为 if(CollUtil.isEmpty(mallGoods)) - 这个修改确保了当商品分类为空时,才将商品添加到 objects 列表中
---
src/main/java/cc/mrbird/febs/mall/vo/MallMemberVo.java | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 53 insertions(+), 1 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 6751a9d..45e2800 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;
@@ -27,7 +29,7 @@
@ApiModelProperty(value = "性别")
private String sex;
- @ApiModelProperty(value = "邀请码")
+ @ApiModelProperty(value = "邀请码(如果是团长,邀请码就是团长特征码)")
private String inviteId;
@ApiModelProperty(value = "头像")
@@ -54,4 +56,54 @@
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;
+
+ @ApiModelProperty(value = "代理名称")
+ private String agentLevelName;
+
+ @ApiModelProperty(value = "代理等级数字 1:一级 2:二级 3:三级")
+ private Integer agentLevel;
+
+ @ApiModelProperty(value = "收藏数量")
+ private Integer collectionCnt;
+
+ @ApiModelProperty(value = "足迹数量")
+ private Integer footprintCnt;
+
+ @ApiModelProperty(value = "足迹数量")
+ private Integer childCnt;
+
+ @ApiModelProperty(value = "是否是推销员")
+ private Integer isSale;
+
+ @ApiModelProperty(value = "会员信息")
+ private MallVipConfig vipInfo;
+
+
+ @ApiModelProperty(value = "生日")
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
+ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
+ private Date birthday;
}
--
Gitblit v1.9.1