From dc5be7d38446f70e6ff86df311119c32b41fe7f8 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 28 十一月 2020 16:37:05 +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 a2d0768..ac552f3 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 @@ -564,7 +564,7 @@ /*-------- 鎷煎澶氬晢鍝� -------*/ if (goodsType.intValue() == Constant.SOURCE_TYPE_PDD) { - searchPDDGoods(acceptData, searchkey, page, filter, order, ap, out); + searchPDDGoods(acceptData,uid, searchkey, page, filter, order, ap, out); return; } @@ -934,7 +934,7 @@ * @param ap * @param out */ - private void searchPDDGoods(AcceptData acceptData, String key, Integer page, String filter, Integer order, + private void searchPDDGoods(AcceptData acceptData,Long uid, String key, Integer page, String filter, Integer order, AppPageNotification ap, PrintWriter out) { PDDSearchFilter pddfilter = new PDDSearchFilter(); pddfilter.setKw(SearchFilterUtil.filterSearchContent(key)); @@ -979,7 +979,7 @@ JSONObject data = new JSONObject(); JSONArray array = new JSONArray(); - PDDGoodsResult result = PinDuoDuoApiUtil.searchGoods(pddfilter); + PDDGoodsResult result = PinDuoDuoApiUtil.searchGoods(pddfilter,Constant.PDD_SEARCH_CUSTOMER_PARAMS); if (result != null) { count = result.getTotalCount(); Gson gson = JsonUtil.getApiCommonGson(); -- Gitblit v1.8.0