From 3eb97e3efbc84ae920a7d1048357615a04308618 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期四, 18 七月 2019 17:32:02 +0800 Subject: [PATCH] 搜索结果店铺处理 --- fanli/src/main/java/com/yeshi/fanli/controller/client/v2/SearchControllerV2.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/SearchControllerV2.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/SearchControllerV2.java index d60c3b2..f1f274f 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/SearchControllerV2.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/SearchControllerV2.java @@ -443,9 +443,9 @@ if (page == 1) { // 绗竴椤佃繑鍥炲簵閾轰俊鎭� - List<TaoBaoShopVO> listShop = taoBaoShopService.getShopByKey(key); - if (listShop != null && listShop.size() > 0 && listShop.get(0).getListGoods() != null - && listShop.get(0).getListGoods().size() > 2) { + List<TaoBaoShopVO> listShop = taoBaoShopService.getShopByKeyV2(key); + if (listShop != null && listShop.size() > 0 && listShop.get(0).getListGoodsVO() != null + && listShop.get(0).getListGoodsVO().size() > 2) { data.put("shop", JsonUtil.getApiCommonGson().toJson(listShop.get(0))); } } -- Gitblit v1.8.0