Showing
1 changed file
with
3 additions
and
0 deletions
@@ -7,6 +7,8 @@ import java.util.function.BinaryOperator; | @@ -7,6 +7,8 @@ import java.util.function.BinaryOperator; | ||
7 | import java.util.function.Function; | 7 | import java.util.function.Function; |
8 | import java.util.stream.Collectors; | 8 | import java.util.stream.Collectors; |
9 | 9 | ||
10 | +import com.alibaba.fastjson.JSON; | ||
11 | +import com.alibaba.fastjson.serializer.SerializerFeature; | ||
10 | import com.yohobuy.ufo.model.request.product.ProductRequestBo; | 12 | import com.yohobuy.ufo.model.request.product.ProductRequestBo; |
11 | import com.yohobuy.ufo.model.response.StorageCheckResp; | 13 | import com.yohobuy.ufo.model.response.StorageCheckResp; |
12 | import com.yohobuy.ufo.model.response.store.StoreInfoBo; | 14 | import com.yohobuy.ufo.model.response.store.StoreInfoBo; |
@@ -2018,6 +2020,7 @@ public class ProductServiceImpl implements ProductService { | @@ -2018,6 +2020,7 @@ public class ProductServiceImpl implements ProductService { | ||
2018 | tabs.put("goods_list", Arrays.asList(goodsBO)); | 2020 | tabs.put("goods_list", Arrays.asList(goodsBO)); |
2019 | tabs.put("pre_sale_goods_list", Arrays.asList(preSaleGoodsBO)); | 2021 | tabs.put("pre_sale_goods_list", Arrays.asList(preSaleGoodsBO)); |
2020 | tabs.put("seconds_goods_list", Arrays.asList(secondsGoodsBO)); | 2022 | tabs.put("seconds_goods_list", Arrays.asList(secondsGoodsBO)); |
2023 | + tabs = JSON.parseObject(JSON.toJSONString(tabs, SerializerFeature.DisableCircularReferenceDetect), Map.class); | ||
2021 | product_info.setGoodsListTabs(tabs); | 2024 | product_info.setGoodsListTabs(tabs); |
2022 | allGoodsBO.setSizeList(allSizeList); | 2025 | allGoodsBO.setSizeList(allSizeList); |
2023 | } | 2026 | } |
-
Please register or login to post a comment