Authored by hugufei

去除一些无用的字段返回

... ... @@ -35,7 +35,6 @@ public class ProductIndexBaseService {
productIndexIncludeFields.add(ProductIndexEsField.productId);
productIndexIncludeFields.add(ProductIndexEsField.productName);
productIndexIncludeFields.add(ProductIndexEsField.productSkn);
//productIndexIncludeFields.add(ProductIndexEsField.cnAlphabet);
productIndexIncludeFields.add(ProductIndexEsField.brandId);
productIndexIncludeFields.add(ProductIndexEsField.brandName);
... ... @@ -75,8 +74,6 @@ public class ProductIndexBaseService {
productIndexIncludeFields.add(ProductIndexEsField.gender);
productIndexIncludeFields.add(ProductIndexEsField.ageLevel);
// productIndexIncludeFields.add(ProductIndexEsField.salesPhrase);
// productIndexIncludeFields.add(ProductIndexEsField.phrase);
productIndexIncludeFields.add(ProductIndexEsField.status);
productIndexIncludeFields.add(ProductIndexEsField.goodsList);
... ... @@ -131,7 +128,6 @@ public class ProductIndexBaseService {
productMap.put("product_id", MapUtils.getIntValue(map, ProductIndexEsField.productId, 0));
productMap.put("product_name", MapUtils.getString(map, ProductIndexEsField.productName, ""));
productMap.put("product_skn", MapUtils.getIntValue(map, ProductIndexEsField.productSkn, 0));
productMap.put("cn_alphabet", MapUtils.getString(map, ProductIndexEsField.cnAlphabet, ""));
productMap.put("brand_id", MapUtils.getIntValue(map, ProductIndexEsField.brandId, 0));
productMap.put("brand_name", MapUtils.getString(map, ProductIndexEsField.brandName, ""));
... ... @@ -173,7 +169,6 @@ public class ProductIndexBaseService {
productMap.put("gender", MapUtils.getString(map, ProductIndexEsField.gender, ""));
productMap.put("age_level", MapUtils.getString(map, ProductIndexEsField.ageLevel, ""));// 年龄层,逗号隔开的字符串
productMap.put("sales_phrase", MapUtils.getString(map, ProductIndexEsField.salesPhrase, ""));
productMap.put("phrase", MapUtils.getString(map, ProductIndexEsField.phrase, ""));
productMap.put("status", MapUtils.getIntValue(map, ProductIndexEsField.status, 0));
productMap.put("goods_list", MapUtils.getObject(map, ProductIndexEsField.goodsList, new JSONArray()));
... ...