From 413a57e2524cb0b839d5d83d961de3b59814eb6e Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Fri, 24 Oct 2025 16:53:11 +0800
Subject: [PATCH] feat(ai): 实现产品依赖解锁功能 - 在AiMemberAnswerServiceImpl中注入AiProductDependencyService和AiMemberProductUnlockService - 修改insure方法,根据答题分数解锁符合条件的产品 - 新增selectListByProductIds和insertList方法到AiMemberProductUnlockService - 实现产品依赖关系查询方法selectListByProductId到AiProductDependencyService- 在AiProductServiceImpl中增加产品状态判断逻辑,支持锁定和解锁状态显示 - 添加memberId字段到ApiProductPageDto用于查询用户已解锁产品 - 在ApiProductVo中新增state字段表示产品锁定/解锁状态
---
src/main/java/cc/mrbird/febs/mall/vo/MallGoodsDetailsVo.java | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 53 insertions(+), 1 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/mall/vo/MallGoodsDetailsVo.java b/src/main/java/cc/mrbird/febs/mall/vo/MallGoodsDetailsVo.java
index 3a457fb..3640115 100644
--- a/src/main/java/cc/mrbird/febs/mall/vo/MallGoodsDetailsVo.java
+++ b/src/main/java/cc/mrbird/febs/mall/vo/MallGoodsDetailsVo.java
@@ -18,11 +18,23 @@
@ApiModelProperty(value = "id")
private Long id;
+ @ApiModelProperty(value = "小店APP_ID")
+ private String storeAppId;
+
+ @ApiModelProperty(value = "小店商品ID")
+ private String storeGoodsId;
+
+ @ApiModelProperty(value = "商品主图")
+ private String thumb;
+
@ApiModelProperty(value = "商品编号")
private String goodsNo;
@ApiModelProperty(value = "商品名称")
private String goodsName;
+
+ @ApiModelProperty(value = "商品参数")
+ private String goodsParameter;
@ApiModelProperty(value = "商品介绍")
private String goodsIntrodution;
@@ -32,6 +44,9 @@
@ApiModelProperty(value = "原价")
private String originalPrice;
+
+ @ApiModelProperty(value = "积分价格")
+ private String staticPropPrice;
@ApiModelProperty(value = "现价")
private String presentPrice;
@@ -57,7 +72,7 @@
@ApiModelProperty(value = "运费")
private BigDecimal carriage;
- @ApiModelProperty(value = "1-普通商品 2-套餐")
+ @ApiModelProperty(value = "1-普通商品 2-套餐 3-微信小店")
private Integer isNormal;
@ApiModelProperty(value = "轮播图")
@@ -65,4 +80,41 @@
@ApiModelProperty(value = "样式")
private List<GoodsDetailsStyleVo> styles;
+
+ @ApiModelProperty(value = "评论数量")
+ private Integer commentCount;
+ //运费方式 (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 String mainImage;
}
--
Gitblit v1.9.1