/yohosearch/ufo/recommendList.json
/yohosearch/ufo/recommendBySeriesBrandList.json 添加自定义标签
Showing
1 changed file
with
5 additions
and
1 deletions
@@ -138,6 +138,8 @@ public class UfoProductListService { | @@ -138,6 +138,8 @@ public class UfoProductListService { | ||
138 | paramMap.remove("midSort"); | 138 | paramMap.remove("midSort"); |
139 | this.addReturnInfoList(paramMap, idList, returnInfoList, RECOMMEND_LIMIT); | 139 | this.addReturnInfoList(paramMap, idList, returnInfoList, RECOMMEND_LIMIT); |
140 | } | 140 | } |
141 | + // 添加自定义标签 | ||
142 | + customizeTagBaseService.fillCustomizeTag(returnInfoList, false); | ||
141 | dataMap.put("total", returnInfoList.size()); | 143 | dataMap.put("total", returnInfoList.size()); |
142 | return searchApiResult; | 144 | return searchApiResult; |
143 | } catch (Exception e) { | 145 | } catch (Exception e) { |
@@ -178,6 +180,9 @@ public class UfoProductListService { | @@ -178,6 +180,9 @@ public class UfoProductListService { | ||
178 | paramMap.put("brand", brandId.toString()); | 180 | paramMap.put("brand", brandId.toString()); |
179 | this.addReturnInfoList(paramMap, idList, returnInfoList, RECOMMEND_BY_SERIES_BRAND_LIMIT); | 181 | this.addReturnInfoList(paramMap, idList, returnInfoList, RECOMMEND_BY_SERIES_BRAND_LIMIT); |
180 | } | 182 | } |
183 | + // 添加自定义标签 | ||
184 | + customizeTagBaseService.fillCustomizeTag(returnInfoList,false); | ||
185 | + | ||
181 | dataMap.put("total", returnInfoList.size()); | 186 | dataMap.put("total", returnInfoList.size()); |
182 | return searchApiResult; | 187 | return searchApiResult; |
183 | } catch (Exception e) { | 188 | } catch (Exception e) { |
@@ -186,7 +191,6 @@ public class UfoProductListService { | @@ -186,7 +191,6 @@ public class UfoProductListService { | ||
186 | } | 191 | } |
187 | } | 192 | } |
188 | 193 | ||
189 | - | ||
190 | private void addReturnInfoList(Map<String, String> paramMap, Set<Integer> idList, List<Map<String, Object>> returnInfoList, int limit) { | 194 | private void addReturnInfoList(Map<String, String> paramMap, Set<Integer> idList, List<Map<String, Object>> returnInfoList, int limit) { |
191 | SearchApiResult searchApiResult = this.productList(paramMap); | 195 | SearchApiResult searchApiResult = this.productList(paramMap); |
192 | if (searchApiResult.getData() == null) { | 196 | if (searchApiResult.getData() == null) { |
-
Please register or login to post a comment