From dfd8d21293c86603fc0a42421bfbdb137ea1b1e4 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 20 May 2025 10:44:56 +0800
Subject: [PATCH] refactor(vip): 优化会员购买经验记录和分数更新逻 - 移除错误的代码块,避免重复记录会员购买经验 - 在计算推荐人积分的同时,记录会员购买经验 - 修复了原代码中可能导致分数更新不正确的问题

---
 src/main/java/cc/mrbird/febs/mall/vo/MallGoodsListVo.java |   39 ++++++++++++++++++++++++++++++++++++++-
 1 files changed, 38 insertions(+), 1 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/mall/vo/MallGoodsListVo.java b/src/main/java/cc/mrbird/febs/mall/vo/MallGoodsListVo.java
index 2d19c5e..f319ed2 100644
--- a/src/main/java/cc/mrbird/febs/mall/vo/MallGoodsListVo.java
+++ b/src/main/java/cc/mrbird/febs/mall/vo/MallGoodsListVo.java
@@ -32,6 +32,9 @@
     @ApiModelProperty(value = "原价")
     private String originalPrice;
 
+    @ApiModelProperty(value = "积分价格")
+    private String staticPropPrice;
+
     @ApiModelProperty(value = "现价")
     private String presentPrice;
 
@@ -44,6 +47,40 @@
     @ApiModelProperty(value = "积分")
     private BigDecimal score;
 
-    @ApiModelProperty(value = "是否有运费 1-是 2-包邮")
+    @ApiModelProperty(value = "是否有运费 1-是 2-包邮 (不使用了)")
     private Integer hasCarriage;
+    //运费方式  (1:固定运费 2:运费模板)
+
+    @ApiModelProperty(value = "运费方式  (1:固定运费 2:运费模板)")
+    private Integer carriageType;
+    //运费金额
+
+    @ApiModelProperty(value = "固定运费金额")
+    private BigDecimal carriageAmount;
+    //运费模板ID
+
+    @ApiModelProperty(value = "运费模板ID")
+    private Long carriageRuleId;
+    //重量
+
+    @ApiModelProperty(value = "重量")
+    private BigDecimal goodsWeight;
+
+    @ApiModelProperty(value = "单位")
+    private String unit;
+
+    @ApiModelProperty(value = "1级代理价格")
+    private BigDecimal levelOnePrice;
+
+    @ApiModelProperty(value = "2级代理价格")
+    private BigDecimal levelTwoPrice;
+
+    @ApiModelProperty(value = "3级代理价格")
+    private BigDecimal levelThreePrice;
+
+    @ApiModelProperty(value = "是否收藏")
+    private Integer hasCollect;
+
+    @ApiModelProperty(value = "销量排名")
+    private Integer rank;
 }

--
Gitblit v1.9.1