有货列表页展示的ufo商品名称加固定词缀 [ 球鞋交易]
Showing
1 changed file
with
3 additions
and
1 deletions
@@ -221,7 +221,9 @@ public class ProductIndexBaseService { | @@ -221,7 +221,9 @@ public class ProductIndexBaseService { | ||
221 | 221 | ||
222 | //ufo | 222 | //ufo |
223 | productMap.put("is_ufo", MapUtils.getString(map, ProductIndexEsField.isUfo, "N")); | 223 | productMap.put("is_ufo", MapUtils.getString(map, ProductIndexEsField.isUfo, "N")); |
224 | - | 224 | + if(MapUtils.getString(productMap,"is_ufo","N").equalsIgnoreCase("Y")){ |
225 | + productMap.put("product_name","【球鞋交易】" + MapUtils.getString(productMap, "product_name", "")); | ||
226 | + } | ||
225 | return productMap; | 227 | return productMap; |
226 | } | 228 | } |
227 | 229 |
-
Please register or login to post a comment