From 9d809221eb4debba088ac2e56e63315b7596a30b Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期二, 16 九月 2025 14:50:41 +0800 Subject: [PATCH] 解决图片显示问题和实物商品与虚拟商品中不包含礼品卡时去除优惠卷id和名称 --- framework/src/main/java/cn/lili/modules/goods/entity/dos/GoodsSku.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/framework/src/main/java/cn/lili/modules/goods/entity/dos/GoodsSku.java b/framework/src/main/java/cn/lili/modules/goods/entity/dos/GoodsSku.java index 1b77b11..6f968a3 100644 --- a/framework/src/main/java/cn/lili/modules/goods/entity/dos/GoodsSku.java +++ b/framework/src/main/java/cn/lili/modules/goods/entity/dos/GoodsSku.java @@ -170,6 +170,12 @@ @ApiModelProperty(value = "棰勮鏁伴噺") private Integer alertQuantity; + @ApiModelProperty(value ="浼樻儬鍔礽d") + private String couponId; + + @ApiModelProperty(value ="浼樻儬鍔靛悕") + private String couponName; + public Double getWeight() { if (weight == null) { return 0d; @@ -223,6 +229,7 @@ this.storeCategoryPath = goods.getStoreCategoryPath(); this.freightTemplateId = goods.getTemplateId(); this.recommend = goods.getRecommend(); + } } \ No newline at end of file -- Gitblit v1.8.0