From eedea676aa3eff5c861e2dd72b984e2f1850fa8f Mon Sep 17 00:00:00 2001 From: lifenlong Date: Thu, 1 Jul 2021 17:06:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lili/modules/goods/serviceimpl/GoodsSkuServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/framework/src/main/java/cn/lili/modules/goods/serviceimpl/GoodsSkuServiceImpl.java b/framework/src/main/java/cn/lili/modules/goods/serviceimpl/GoodsSkuServiceImpl.java index cd9dabe1..e6361cd3 100644 --- a/framework/src/main/java/cn/lili/modules/goods/serviceimpl/GoodsSkuServiceImpl.java +++ b/framework/src/main/java/cn/lili/modules/goods/serviceimpl/GoodsSkuServiceImpl.java @@ -226,6 +226,11 @@ public class GoodsSkuServiceImpl extends ServiceImpl i map.put("specs", this.groupBySkuAndSpec(goodsSkuDetail.getGoodsId())); map.put("promotionMap", goodsIndex.getPromotionMap()); + //获取参数信息 + if(goodsVO.getGoodsParamsDTOList().size()>0){ + map.put("goodsParamsDTOList",goodsVO.getGoodsParamsDTOList()); + } + //记录用户足迹 if (UserContext.getCurrentUser() != null) { FootPrint footPrint = new FootPrint(UserContext.getCurrentUser().getId(), goodsId, skuId);