Authored by hugufei

pc列表返回性别名称

@@ -69,6 +69,7 @@ public class WebProductIndexBaseService { @@ -69,6 +69,7 @@ public class WebProductIndexBaseService {
69 productIndexIncludeFields.add(ProductIndexEsField.brandName); 69 productIndexIncludeFields.add(ProductIndexEsField.brandName);
70 productIndexIncludeFields.add(ProductIndexEsField.brandNameCn); 70 productIndexIncludeFields.add(ProductIndexEsField.brandNameCn);
71 productIndexIncludeFields.add(ProductIndexEsField.brandNameEn); 71 productIndexIncludeFields.add(ProductIndexEsField.brandNameEn);
  72 + productIndexIncludeFields.add(ProductIndexEsField.genderS);
72 } 73 }
73 74
74 public List<String> getWebProductIndexIncludeFields() { 75 public List<String> getWebProductIndexIncludeFields() {
@@ -134,6 +135,7 @@ public class WebProductIndexBaseService { @@ -134,6 +135,7 @@ public class WebProductIndexBaseService {
134 productMap.put("brand_name", MapUtils.getString(map, ProductIndexEsField.brandName, "")); 135 productMap.put("brand_name", MapUtils.getString(map, ProductIndexEsField.brandName, ""));
135 productMap.put("brand_name_cn", MapUtils.getString(map, ProductIndexEsField.brandNameCn, "")); 136 productMap.put("brand_name_cn", MapUtils.getString(map, ProductIndexEsField.brandNameCn, ""));
136 productMap.put("brand_name_en", MapUtils.getString(map, ProductIndexEsField.brandNameEn, "")); 137 productMap.put("brand_name_en", MapUtils.getString(map, ProductIndexEsField.brandNameEn, ""));
  138 + productMap.put("gender_s", MapUtils.getString(map, ProductIndexEsField.genderS, ""));
137 return productMap; 139 return productMap;
138 } 140 }
139 141